@blockforfun/cli
v10.0.0
Published
BlockFor.fun CLI
Downloads
82
Readme
cli
BlockFor.fun CLI
Plugins
Bundled plugins
Usage
$ npm install -g @blockforfun/cli
$ blockfun COMMAND
running command...
$ blockfun (-v|--version|version)
@blockforfun/cli/10.0.0 win32-x64 node-v10.10.0
$ blockfun --help [COMMAND]
USAGE
$ blockfun COMMAND
...
Commands
blockfun delete:json SOURCE PATH
blockfun delete:text SOURCE PATH
blockfun export:json SOURCE
blockfun export:sqlite SOURCE TARGET
blockfun export:text SOURCE
blockfun help [COMMAND]
blockfun list:json SOURCE
blockfun list:text SOURCE
blockfun read:json SOURCE PATH
blockfun read:text SOURCE PATH
blockfun write:json SOURCE PATH [INPUT]
blockfun write:text SOURCE PATH [INPUT]
blockfun delete:json SOURCE PATH
deletes entries in json format from a BlockFor.fun git registry
USAGE
$ blockfun delete:json SOURCE PATH
ARGUMENTS
SOURCE git repository URL or path
PATH git file path
OPTIONS
-f, --fetch=fetch git fetch URL
-o, --output=output output file path
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
ALIASES
$ blockfun rm:json
$ blockfun del:json
See code: @blockforfun/plugin-git
blockfun delete:text SOURCE PATH
deletes entries in text format from a BlockFor.fun git registry
USAGE
$ blockfun delete:text SOURCE PATH
ARGUMENTS
SOURCE git repository URL or path
PATH git file path
OPTIONS
-f, --fetch=fetch git fetch URL
-o, --output=output output file path
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
ALIASES
$ blockfun rm:text
$ blockfun del:text
See code: @blockforfun/plugin-git
blockfun export:json SOURCE
exports json entries from a BlockFor.fun git registry
USAGE
$ blockfun export:json SOURCE
ARGUMENTS
SOURCE git repository URL or path
OPTIONS
-f, --fetch=fetch git fetch URL
-o, --output=output output file path
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
See code: @blockforfun/plugin-git
blockfun export:sqlite SOURCE TARGET
exports sqlite3 database from a BlockFor.fun git registry
USAGE
$ blockfun export:sqlite SOURCE TARGET
ARGUMENTS
SOURCE git repository URL or path
TARGET path to sqlite3 database
OPTIONS
-f, --fetch=fetch git fetch URL
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
See code: @blockforfun/plugin-export-sqlite
blockfun export:text SOURCE
exports text entries from a BlockFor.fun git registry
USAGE
$ blockfun export:text SOURCE
ARGUMENTS
SOURCE git repository URL or path
OPTIONS
-f, --fetch=fetch git fetch URL
-o, --output=output output file path
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
See code: @blockforfun/plugin-git
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
blockfun list:json SOURCE
lists entries in json format from a BlockFor.fun git registry
USAGE
$ blockfun list:json SOURCE
ARGUMENTS
SOURCE git repository URL or path
OPTIONS
-f, --fetch=fetch git fetch URL
-o, --output=output output file path
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
ALIASES
$ blockfun ls:json
See code: @blockforfun/plugin-git
blockfun list:text SOURCE
lists entries in text format from a BlockFor.fun git registry
USAGE
$ blockfun list:text SOURCE
ARGUMENTS
SOURCE git repository URL or path
OPTIONS
-f, --fetch=fetch git fetch URL
-o, --output=output output file path
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
ALIASES
$ blockfun ls:text
See code: @blockforfun/plugin-git
blockfun read:json SOURCE PATH
reads entries in json format from a BlockFor.fun git registry
USAGE
$ blockfun read:json SOURCE PATH
ARGUMENTS
SOURCE git repository URL or path
PATH git file path
OPTIONS
-f, --fetch=fetch git fetch URL
-o, --output=output output file path
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
ALIASES
$ blockfun get:json
See code: @blockforfun/plugin-git
blockfun read:text SOURCE PATH
reads entries in text format from a BlockFor.fun git registry
USAGE
$ blockfun read:text SOURCE PATH
ARGUMENTS
SOURCE git repository URL or path
PATH git file path
OPTIONS
-f, --fetch=fetch git fetch URL
-o, --output=output output file path
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
ALIASES
$ blockfun get:text
See code: @blockforfun/plugin-git
blockfun write:json SOURCE PATH [INPUT]
writes entries in json format to a BlockFor.fun git registry
USAGE
$ blockfun write:json SOURCE PATH [INPUT]
ARGUMENTS
SOURCE git repository URL or path
PATH git file path
INPUT input file path
OPTIONS
-f, --fetch=fetch git fetch URL
-o, --output=output output file path
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
ALIASES
$ blockfun put:json
See code: @blockforfun/plugin-git
blockfun write:text SOURCE PATH [INPUT]
writes entries in text format to a BlockFor.fun git registry
USAGE
$ blockfun write:text SOURCE PATH [INPUT]
ARGUMENTS
SOURCE git repository URL or path
PATH git file path
INPUT input file path
OPTIONS
-f, --fetch=fetch git fetch URL
-o, --output=output output file path
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
ALIASES
$ blockfun put:text
See code: @blockforfun/plugin-git