Skip to content

Commit

Permalink
0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed May 5, 2019
1 parent 0e96323 commit 575e337
Show file tree
Hide file tree
Showing 24 changed files with 199 additions and 143 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# [0.3.0](https://github.com/rafamel/kpo/compare/v0.2.0...v0.3.0) (2019-05-05)


### Bug Fixes

* **core:** doesn't preserve state when cwd has changed ([2d4d9be](https://github.com/rafamel/kpo/commit/2d4d9be))
* **public/exec:** stream arguments get passed to command ([0e96323](https://github.com/rafamel/kpo/commit/0e96323))


### Features

* **public/exec:** allows for arguments to be passed in options; arguments in options overwrite glob ([1c341ef](https://github.com/rafamel/kpo/commit/1c341ef))
* **public/kpo:** adds -- to kpo commands on raise so they can take arguments out of the box ([ef05508](https://github.com/rafamel/kpo/commit/ef05508))
* **utils/version-range:** returns boolean instead of throwing for mismatches ([09e9ef6](https://github.com/rafamel/kpo/commit/09e9ef6))



# [0.2.0](https://github.com/rafamel/kpo/compare/v0.1.0...v0.2.0) (2019-05-04)


Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

86 changes: 43 additions & 43 deletions docs/globals.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>kpo 0.2.0</title>
<title>kpo 0.3.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="index.html" class="title">kpo 0.2.0</a>
<a href="index.html" class="title">kpo 0.3.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -54,7 +54,7 @@
<a href="globals.html">Globals</a>
</li>
</ul>
<h1> kpo 0.2.0</h1>
<h1> kpo 0.3.0</h1>
</div>
</div>
</header>
Expand Down
14 changes: 7 additions & 7 deletions docs/interfaces/iclioptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>ICliOptions | kpo 0.2.0</title>
<title>ICliOptions | kpo 0.3.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.2.0</a>
<a href="../index.html" class="title">kpo 0.3.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -109,7 +109,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> directory</h3>
<div class="tsd-signature tsd-kind-icon">directory<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/types.ts#L128">types.ts:128</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/types.ts#L128">types.ts:128</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -125,7 +125,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> env</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="ioptions.html">IOptions</a>.<a href="ioptions.html#env">env</a></p>
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/types.ts#L73">types.ts:73</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/types.ts#L73">types.ts:73</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -140,7 +140,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> file</h3>
<div class="tsd-signature tsd-kind-icon">file<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/types.ts#L124">types.ts:124</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/types.ts#L124">types.ts:124</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -156,7 +156,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> log</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="ioptions.html">IOptions</a>.<a href="ioptions.html#log">log</a></p>
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/types.ts#L81">types.ts:81</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/types.ts#L81">types.ts:81</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -172,7 +172,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> silent</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="ioptions.html">IOptions</a>.<a href="ioptions.html#silent">silent</a></p>
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/types.ts#L77">types.ts:77</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/types.ts#L77">types.ts:77</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
12 changes: 6 additions & 6 deletions docs/interfaces/iconfirmoptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>IConfirmOptions | kpo 0.2.0</title>
<title>IConfirmOptions | kpo 0.3.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.2.0</a>
<a href="../index.html" class="title">kpo 0.3.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -103,7 +103,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> initial</h3>
<div class="tsd-signature tsd-kind-icon">initial<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/public/prompts/confirm.ts#L13">public/prompts/confirm.ts:13</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/public/prompts/confirm.ts#L13">public/prompts/confirm.ts:13</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -118,7 +118,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> no</h3>
<div class="tsd-signature tsd-kind-icon">no<span class="tsd-signature-symbol">:</span> <a href="../globals.html#tscript" class="tsd-signature-type">TScript</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/public/prompts/confirm.ts#L21">public/prompts/confirm.ts:21</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/public/prompts/confirm.ts#L21">public/prompts/confirm.ts:21</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -133,7 +133,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> timeout</h3>
<div class="tsd-signature tsd-kind-icon">timeout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/public/prompts/confirm.ts#L25">public/prompts/confirm.ts:25</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/public/prompts/confirm.ts#L25">public/prompts/confirm.ts:25</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -148,7 +148,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> yes</h3>
<div class="tsd-signature tsd-kind-icon">yes<span class="tsd-signature-symbol">:</span> <a href="../globals.html#tscript" class="tsd-signature-type">TScript</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/public/prompts/confirm.ts#L17">public/prompts/confirm.ts:17</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/public/prompts/confirm.ts#L17">public/prompts/confirm.ts:17</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
10 changes: 5 additions & 5 deletions docs/interfaces/iexecoptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>IExecOptions | kpo 0.2.0</title>
<title>IExecOptions | kpo 0.3.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.2.0</a>
<a href="../index.html" class="title">kpo 0.3.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -107,7 +107,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> cwd</h3>
<div class="tsd-signature tsd-kind-icon">cwd<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/types.ts#L147">types.ts:147</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/types.ts#L147">types.ts:147</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -122,7 +122,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> env</h3>
<div class="tsd-signature tsd-kind-icon">env<span class="tsd-signature-symbol">:</span> <a href="ioftype.html" class="tsd-signature-type">IOfType</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/types.ts#L151">types.ts:151</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/types.ts#L151">types.ts:151</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -137,7 +137,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> stdio</h3>
<div class="tsd-signature tsd-kind-icon">stdio<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"pipe"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ignore"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"inherit"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/types.ts#L155">types.ts:155</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/types.ts#L155">types.ts:155</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
8 changes: 4 additions & 4 deletions docs/interfaces/ifsoptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>IFsOptions | kpo 0.2.0</title>
<title>IFsOptions | kpo 0.3.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.2.0</a>
<a href="../index.html" class="title">kpo 0.3.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -106,7 +106,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> confirm</h3>
<div class="tsd-signature tsd-kind-icon">confirm<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/public/fs/types.ts#L8">public/fs/types.ts:8</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/public/fs/types.ts#L8">public/fs/types.ts:8</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -121,7 +121,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> fail</h3>
<div class="tsd-signature tsd-kind-icon">fail<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/public/fs/types.ts#L12">public/fs/types.ts:12</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/public/fs/types.ts#L12">public/fs/types.ts:12</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
10 changes: 5 additions & 5 deletions docs/interfaces/ifswriteoptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>IFsWriteOptions | kpo 0.2.0</title>
<title>IFsWriteOptions | kpo 0.3.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.2.0</a>
<a href="../index.html" class="title">kpo 0.3.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -108,7 +108,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> confirm</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="ifsoptions.html">IFsOptions</a>.<a href="ifsoptions.html#confirm">confirm</a></p>
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/public/fs/types.ts#L8">public/fs/types.ts:8</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/public/fs/types.ts#L8">public/fs/types.ts:8</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -124,7 +124,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> fail</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="ifsoptions.html">IFsOptions</a>.<a href="ifsoptions.html#fail">fail</a></p>
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/public/fs/types.ts#L12">public/fs/types.ts:12</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/public/fs/types.ts#L12">public/fs/types.ts:12</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -139,7 +139,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> overwrite</h3>
<div class="tsd-signature tsd-kind-icon">overwrite<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/public/fs/types.ts#L22">public/fs/types.ts:22</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/public/fs/types.ts#L22">public/fs/types.ts:22</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
8 changes: 4 additions & 4 deletions docs/interfaces/ilistoptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>IListOptions | kpo 0.2.0</title>
<title>IListOptions | kpo 0.3.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.2.0</a>
<a href="../index.html" class="title">kpo 0.3.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -94,7 +94,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> all</h3>
<div class="tsd-signature tsd-kind-icon">all<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/public/kpo/list.ts#L13">public/kpo/list.ts:13</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/public/kpo/list.ts#L13">public/kpo/list.ts:13</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -109,7 +109,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> scopes</h3>
<div class="tsd-signature tsd-kind-icon">scopes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/81aab0c/src/public/kpo/list.ts#L17">public/kpo/list.ts:17</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0e96323/src/public/kpo/list.ts#L17">public/kpo/list.ts:17</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
Loading

0 comments on commit 575e337

Please sign in to comment.