@blockforfun/plugin-git
BlockFor.fun CLI git plugin
Usage
$ npm install -g @blockforfun/plugin-git
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
@blockforfun/plugin-git/4.2.5 win32-x64 node-v10.10.0
$ oclif-example --help [COMMAND]
USAGE
$ oclif-example COMMAND
...
Commands
oclif-example delete:json SOURCE PATH [OUTPUT]
deletes entries in json format from a BlockFor.fun git registry
USAGE
$ oclif-example delete:json SOURCE PATH [OUTPUT]
ARGUMENTS
SOURCE git repository URL or path
PATH git file path
OUTPUT output file path
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
ALIASES
$ oclif-example rm:json
$ oclif-example del:json
See code: src\commands\delete\json.js
oclif-example delete:text SOURCE PATH [OUTPUT]
deletes entries in text format from a BlockFor.fun git registry
USAGE
$ oclif-example delete:text SOURCE PATH [OUTPUT]
ARGUMENTS
SOURCE git repository URL or path
PATH git file path
OUTPUT output file path
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
ALIASES
$ oclif-example rm:text
$ oclif-example del:text
See code: src\commands\delete\text.js
oclif-example list:json SOURCE [OUTPUT]
lists entries in json format from a BlockFor.fun git registry
USAGE
$ oclif-example list:json SOURCE [OUTPUT]
ARGUMENTS
SOURCE git repository URL or path
OUTPUT output file path
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
ALIASES
$ oclif-example ls:json
See code: src\commands\list\json.js
oclif-example list:text SOURCE [OUTPUT]
lists entries in text format from a BlockFor.fun git registry
USAGE
$ oclif-example list:text SOURCE [OUTPUT]
ARGUMENTS
SOURCE git repository URL or path
OUTPUT output file path
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
ALIASES
$ oclif-example ls:text
See code: src\commands\list\text.js
oclif-example read:json SOURCE PATH [OUTPUT]
reads entries in json format from a BlockFor.fun git registry
USAGE
$ oclif-example read:json SOURCE PATH [OUTPUT]
ARGUMENTS
SOURCE git repository URL or path
PATH git file path
OUTPUT output file path
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
ALIASES
$ oclif-example get:json
See code: src\commands\read\json.js
oclif-example read:text SOURCE PATH [OUTPUT]
reads entries in text format from a BlockFor.fun git registry
USAGE
$ oclif-example read:text SOURCE PATH [OUTPUT]
ARGUMENTS
SOURCE git repository URL or path
PATH git file path
OUTPUT output file path
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
ALIASES
$ oclif-example get:text
See code: src\commands\read\text.js
oclif-example write:json SOURCE PATH INPUT
writes entries in json format to a BlockFor.fun git registry
USAGE
$ oclif-example 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
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
ALIASES
$ oclif-example put:json
See code: src\commands\write\json.js
oclif-example write:text SOURCE PATH INPUT
writes entries in text format to a BlockFor.fun git registry
USAGE
$ oclif-example 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
-r, --ref=ref [default: refs/heads/master] git ref
-s, --spec=spec [default: refs/heads/*:refs/heads/*] git fetch refspec
ALIASES
$ oclif-example put:text
See code: src\commands\write\text.js