Skip to content

Commit

Permalink
0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed May 11, 2019
1 parent 1843540 commit e1a9d43
Show file tree
Hide file tree
Showing 23 changed files with 484 additions and 2,020 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# [0.5.0](https://github.com/rafamel/kpo/compare/v0.4.0...v0.5.0) (2019-05-11)


### Bug Fixes

* **bin:** filters empty values for comma separated flags ([33c67dd](https://github.com/rafamel/kpo/commit/33c67dd))
* fixes logging level restore; initializes on reset ([48da81b](https://github.com/rafamel/kpo/commit/48da81b))
* **deps:** updates dependencies ([b5bd7df](https://github.com/rafamel/kpo/commit/b5bd7df))
* **utils/env-manager:** fixes environment variables setting and restoring when undefined ([db4dda5](https://github.com/rafamel/kpo/commit/db4dda5))
* **utils/logger:** ensures methodFactory is used immediately after it is set ([2bace5a](https://github.com/rafamel/kpo/commit/2bace5a))


### Features

* uses SilentError to fail silently; logs it as warning ([f9d8ad3](https://github.com/rafamel/kpo/commit/f9d8ad3))
* **commands/raise, bin/raise:** adds purge option ([626ead1](https://github.com/rafamel/kpo/commit/626ead1))
* **public/fs:** adds read ([41b3118](https://github.com/rafamel/kpo/commit/41b3118))
* **utils/errors:** adds SilentError ([c72844d](https://github.com/rafamel/kpo/commit/c72844d))
* **utils/logger:** exits messages are logged w/ the same level as kpo's ones ([c4333be](https://github.com/rafamel/kpo/commit/c4333be))



# [0.4.0](https://github.com/rafamel/kpo/compare/v0.3.0...v0.4.0) (2019-05-08)


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

Large diffs are not rendered by default.

152 changes: 113 additions & 39 deletions docs/globals.html

Large diffs are not rendered by default.

41 changes: 31 additions & 10 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.4.0</title>
<title>kpo 0.5.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.4.0</a>
<a href="index.html" class="title">kpo 0.5.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.4.0</h1>
<h1> kpo 0.5.0</h1>
</div>
</div>
</header>
Expand Down Expand Up @@ -131,15 +131,16 @@ <h3 id="kpo-cmd-aliased-kpo-"><code>kpo :cmd</code> - aliased <code>kpo :</code>
--scopes List scopes
-h, --<span class="hljs-keyword">help</span> Show <span class="hljs-keyword">help</span></code></pre><h3 id="kpo-raise"><code>kpo :raise</code></h3>
<pre><code>Usage:
$ kpo :raise [options]
$ kpo :raise [<span class="hljs-keyword">options</span>]

Raises kpo tasks <span class="hljs-keyword">to</span> package.json

Options:
--confirm Prompt <span class="hljs-keyword">for</span> changes confirmation before performing a write operation
--dry Dry <span class="hljs-builtin-name">run</span>
--fail Fails <span class="hljs-keyword">if</span> there are any changes <span class="hljs-keyword">to</span> be made on dry mode, <span class="hljs-keyword">or</span> <span class="hljs-keyword">if</span> the<span class="hljs-built_in"> user </span>cancels the action when confirmation is required
-h, --help Show help</code></pre><h3 id="kpo-series"><code>kpo :series</code></h3>
Option<span class="hljs-variable">s:</span>
--purge Purge <span class="hljs-keyword">all</span> non-kpo scripts
--<span class="hljs-keyword">confirm</span> Prompt <span class="hljs-keyword">for</span> <span class="hljs-keyword">changes</span> confirmation before performing <span class="hljs-keyword">a</span> <span class="hljs-keyword">write</span> operation
--dry Dry run
--fail Fails <span class="hljs-keyword">if</span> there are any <span class="hljs-keyword">changes</span> <span class="hljs-keyword">to</span> <span class="hljs-keyword">be</span> made <span class="hljs-keyword">on</span> dry <span class="hljs-keyword">mode</span>, <span class="hljs-built_in">or</span> <span class="hljs-keyword">if</span> the user cancels the action when confirmation <span class="hljs-keyword">is</span> required
-h, --<span class="hljs-keyword">help</span> Show <span class="hljs-keyword">help</span></code></pre><h3 id="kpo-series"><code>kpo :series</code></h3>
<pre><code><span class="hljs-symbol">Usage:</span>
$ kpo <span class="hljs-symbol">:series</span> [options] [commands] -- [streamArgs]

Expand All @@ -163,7 +164,21 @@ <h3 id="kpo-cmd-aliased-kpo-"><code>kpo :cmd</code> - aliased <code>kpo :</code>
-h, <span class="hljs-comment">--help Show help</span>

Examples:
$ kpo :parallel -n foo,baz -c blue,magenta <span class="hljs-string">"foo --bar"</span> <span class="hljs-string">"baz --foobar"</span></code></pre>
$ kpo :parallel -n foo,baz -c blue,magenta <span class="hljs-string">"foo --bar"</span> <span class="hljs-string">"baz --foobar"</span></code></pre><h3 id="kpo-stream"><code>kpo :stream</code></h3>
<pre><code><span class="hljs-symbol">Usage</span>:
$ kpo :<span class="hljs-keyword">stream </span>[options] [commands]

<span class="hljs-keyword">Streams </span>kpo commands for children projects
<span class="hljs-symbol">
Options:</span>
--<span class="hljs-meta">include</span> &lt;values&gt; <span class="hljs-meta">Include</span> children <span class="hljs-keyword">by </span>name, comma separated
--exclude &lt;values&gt; Exclude children <span class="hljs-keyword">by </span>name, comma separated
--parallel Execute <span class="hljs-keyword">streaming </span>in parallel
--force Continue execution even <span class="hljs-meta">if</span> some process fails
-h, --help Show help
<span class="hljs-symbol">
Examples:</span>
$ kpo :<span class="hljs-keyword">stream </span>:cmd foo --<span class="hljs-keyword">bar </span>--<span class="hljs-keyword">baz</span></code></pre>
</div>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
Expand All @@ -188,6 +203,9 @@ <h3 id="kpo-cmd-aliased-kpo-"><code>kpo :cmd</code> - aliased <code>kpo :</code>
<li class=" tsd-kind-interface">
<a href="interfaces/ifsoptions.html" class="tsd-kind-icon">IFs<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/ifsreadoptions.html" class="tsd-kind-icon">IFs<wbr>Read<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/ifswriteoptions.html" class="tsd-kind-icon">IFs<wbr>Write<wbr>Options</a>
</li>
Expand Down Expand Up @@ -278,6 +296,9 @@ <h3 id="kpo-cmd-aliased-kpo-"><code>kpo :cmd</code> - aliased <code>kpo :</code>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="globals.html#move" class="tsd-kind-icon">move</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="globals.html#read" class="tsd-kind-icon">read</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="globals.html#remove" class="tsd-kind-icon">remove</a>
</li>
Expand Down
131 changes: 7 additions & 124 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.4.0</title>
<title>ICliOptions | kpo 0.5.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.4.0</a>
<a href="../index.html" class="title">kpo 0.5.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/2e18b9b/src/types.ts#L125">types.ts:125</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/1843540/src/types.ts#L125">types.ts:125</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/2e18b9b/src/types.ts#L70">types.ts:70</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/1843540/src/types.ts#L70">types.ts:70</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/2e18b9b/src/types.ts#L121">types.ts:121</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/1843540/src/types.ts#L121">types.ts:121</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/2e18b9b/src/types.ts#L78">types.ts:78</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/1843540/src/types.ts#L78">types.ts:78</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/2e18b9b/src/types.ts#L74">types.ts:74</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/1843540/src/types.ts#L74">types.ts:74</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -217,123 +217,6 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> silent</h3>
</li>
</ul>
<ul class="after-current">
<li class=" tsd-kind-interface">
<a href="iconfirmoptions.html" class="tsd-kind-icon">IConfirm<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="iexecoptions.html" class="tsd-kind-icon">IExec<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="ifsoptions.html" class="tsd-kind-icon">IFs<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="ifswriteoptions.html" class="tsd-kind-icon">IFs<wbr>Write<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="imultiexecoptions.html" class="tsd-kind-icon">IMulti<wbr>Exec<wbr>Options</a>
</li>
<li class=" tsd-kind-interface tsd-has-type-parameter">
<a href="ioftype.html" class="tsd-kind-icon">IOf<wbr>Type</a>
</li>
<li class=" tsd-kind-interface">
<a href="ioptions.html" class="tsd-kind-icon">IOptions</a>
</li>
<li class=" tsd-kind-interface">
<a href="ipackageoptions.html" class="tsd-kind-icon">IPackage<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="iparallel.html" class="tsd-kind-icon">IParallel</a>
</li>
<li class=" tsd-kind-interface">
<a href="iparalleloptions.html" class="tsd-kind-icon">IParallel<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="iscopeoptions.html" class="tsd-kind-icon">IScope<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="iscripts.html" class="tsd-kind-icon">IScripts</a>
</li>
<li class=" tsd-kind-interface tsd-is-not-exported">
<a href="iscriptsarray.html" class="tsd-kind-icon">IScripts<wbr>Array</a>
</li>
<li class=" tsd-kind-interface">
<a href="iselectoptions.html" class="tsd-kind-icon">ISelect<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="iseries.html" class="tsd-kind-icon">ISeries</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#tchildrendefinition" class="tsd-kind-icon">TChildren<wbr>Definition</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#tcopyfilterfn" class="tsd-kind-icon">TCopy<wbr>Filter<wbr>Fn</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#tcoreoptions" class="tsd-kind-icon">TCore<wbr>Options</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#tlogger" class="tsd-kind-icon">TLogger</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#tscript" class="tsd-kind-icon">TScript</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#tscriptfn" class="tsd-kind-icon">TScript<wbr>Fn</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#parallel" class="tsd-kind-icon">parallel</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#series" class="tsd-kind-icon">series</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#confirm" class="tsd-kind-icon">confirm</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#copy" class="tsd-kind-icon">copy</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#ensure" class="tsd-kind-icon">ensure</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#exists" class="tsd-kind-icon">exists</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#json" class="tsd-kind-icon">json</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#kpo" class="tsd-kind-icon">kpo</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#line" class="tsd-kind-icon">line</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#log" class="tsd-kind-icon">log</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#mkdir" class="tsd-kind-icon">mkdir</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#move" class="tsd-kind-icon">move</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#remove" class="tsd-kind-icon">remove</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#rm" class="tsd-kind-icon">rm</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#rw" class="tsd-kind-icon">rw</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#select" class="tsd-kind-icon">select</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#silent" class="tsd-kind-icon">silent</a>
</li>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#write" class="tsd-kind-icon">write</a>
</li>
</ul>
</nav>
</div>
Expand Down
Loading

0 comments on commit e1a9d43

Please sign in to comment.