@blockforfun/cli
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="1.0.4"></a> | ||
## [1.0.4](https://github.com/blockforfun/cli/compare/v1.0.3...v1.0.4) (2018-11-24) | ||
### Bug Fixes | ||
* Don't capitalize build command description ([4ab1ba9](https://github.com/blockforfun/cli/commit/4ab1ba9)) | ||
* Fix git url in package.json ([58d5d47](https://github.com/blockforfun/cli/commit/58d5d47)) | ||
<a name="1.0.3"></a> | ||
@@ -7,0 +18,0 @@ ## [1.0.3](https://github.com/blockforfun/registry/compare/v1.0.2...v1.0.3) (2018-11-24) |
@@ -61,3 +61,3 @@ const {parse} = require('url') | ||
BuildCommand.description = 'Builds sqlite3 database from a BlockFor.fun git registry.' | ||
BuildCommand.description = 'builds sqlite3 database from a BlockFor.fun git registry.' | ||
BuildCommand.args = [ | ||
@@ -64,0 +64,0 @@ { |
const {isMatch} = require('micromatch') | ||
const GLOB = '**/*.txt' | ||
const EXT = /\.txt$/g | ||
const EXT = /\..+$/g | ||
const DELIM = /[,\s]+/ | ||
@@ -6,0 +6,0 @@ |
@@ -1,1 +0,1 @@ | ||
{"version":"1.0.3","commands":{"build":{"id":"build","description":"Builds sqlite3 database from a BlockFor.fun git registry.","pluginName":"@blockforfun/cli","pluginType":"core","aliases":[],"flags":{"ref":{"name":"ref","type":"option","char":"r","description":"git ref to read from","default":"refs/heads/master"},"spec":{"name":"spec","type":"option","char":"s","description":"git refspec to fetch","default":"refs/heads/*:refs/heads/*"},"fetch":{"name":"fetch","type":"option","char":"f","description":"git fetch repository URL"}},"args":[{"name":"target","description":"path to target sqlite3 database","required":true},{"name":"source","description":"git source repository URL or path","required":true}]}}} | ||
{"version":"1.0.4","commands":{"build":{"id":"build","description":"builds sqlite3 database from a BlockFor.fun git registry.","pluginName":"@blockforfun/cli","pluginType":"core","aliases":[],"flags":{"ref":{"name":"ref","type":"option","char":"r","description":"git ref to read from","default":"refs/heads/master"},"spec":{"name":"spec","type":"option","char":"s","description":"git refspec to fetch","default":"refs/heads/*:refs/heads/*"},"fetch":{"name":"fetch","type":"option","char":"f","description":"git fetch repository URL"}},"args":[{"name":"target","description":"path to target sqlite3 database","required":true},{"name":"source","description":"git source repository URL or path","required":true}]}}} |
{ | ||
"name": "@blockforfun/cli", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "BlockFor.fun registry CLI", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/blockforfun/registry.git" | ||
"url": "git+https://github.com/blockforfun/cli.git" | ||
}, | ||
@@ -29,0 +29,0 @@ "engines": { |
@@ -1,4 +0,1 @@ | ||
@blockforfun/cli | ||
================ | ||
BlockFor.fun CLI | ||
@@ -12,2 +9,5 @@ | ||
<!-- toc --> | ||
* [Usage ](#usage) | ||
* [Commands ](#commands) | ||
<!-- tocstop --> | ||
* [Usage](#usage) | ||
@@ -23,2 +23,14 @@ * [Commands](#commands) | ||
$ blockfun (-v|--version|version) | ||
@blockforfun/cli/1.0.4 win32-x64 node-v10.10.0 | ||
$ blockfun --help [COMMAND] | ||
USAGE | ||
$ blockfun COMMAND | ||
... | ||
``` | ||
<!-- usagestop --> | ||
```sh-session | ||
$ npm install -g @blockforfun/cli | ||
$ blockfun COMMAND | ||
running command... | ||
$ blockfun (-v|--version|version) | ||
@blockforfun/cli/1.0.3 win32-x64 node-v10.10.0 | ||
@@ -38,2 +50,42 @@ $ blockfun --help [COMMAND] | ||
builds sqlite3 database from a BlockFor.fun git registry. | ||
``` | ||
USAGE | ||
$ blockfun build TARGET SOURCE | ||
ARGUMENTS | ||
TARGET path to target sqlite3 database | ||
SOURCE git source repository URL or path | ||
OPTIONS | ||
-f, --fetch=fetch git fetch repository URL | ||
-r, --ref=ref [default: refs/heads/master] git ref to read from | ||
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git refspec to fetch | ||
``` | ||
_See code: [commands\build.js](https://github.com/blockforfun/cli/blob/v1.0.4/commands\build.js)_ | ||
## `blockfun help [COMMAND]` | ||
display help for blockfun | ||
``` | ||
USAGE | ||
$ blockfun help [COMMAND] | ||
ARGUMENTS | ||
COMMAND command to show help for | ||
OPTIONS | ||
--all see all commands in CLI | ||
``` | ||
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.4/src\commands\help.ts)_ | ||
<!-- commandsstop --> | ||
* [`blockfun build TARGET SOURCE`](#blockfun-build-target-source) | ||
* [`blockfun help [COMMAND]`](#blockfun-help-command) | ||
## `blockfun build TARGET SOURCE` | ||
Builds sqlite3 database from a BlockFor.fun git registry. | ||
@@ -40,0 +92,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12416
123