@blockforfun/plugin-git

6.0.0 • Public • Published

@blockforfun/plugin-git

BlockFor.fun CLI git plugin

oclif GitHub Version Downloads/week License

Usage

$ npm install -g @blockforfun/plugin-git
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
@blockforfun/plugin-git/6.0.0 win32-x64 node-v10.10.0
$ oclif-example --help [COMMAND]
USAGE
  $ oclif-example COMMAND
...

Commands

oclif-example delete:json SOURCE PATH

deletes entries in json format from a BlockFor.fun git registry

USAGE
  $ oclif-example 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
  $ oclif-example rm:json
  $ oclif-example del:json

See code: src\commands\delete\json.js

oclif-example delete:text SOURCE PATH

deletes entries in text format from a BlockFor.fun git registry

USAGE
  $ oclif-example 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
  $ oclif-example rm:text
  $ oclif-example del:text

See code: src\commands\delete\text.js

oclif-example export:json SOURCE

exports json entries from a BlockFor.fun git registry

USAGE
  $ oclif-example 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: src\commands\export\json.js

oclif-example export:text SOURCE

exports text entries from a BlockFor.fun git registry

USAGE
  $ oclif-example 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: src\commands\export\text.js

oclif-example list:json SOURCE

lists entries in json format from a BlockFor.fun git registry

USAGE
  $ oclif-example 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
  $ oclif-example ls:json

See code: src\commands\list\json.js

oclif-example list:text SOURCE

lists entries in text format from a BlockFor.fun git registry

USAGE
  $ oclif-example 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
  $ oclif-example ls:text

See code: src\commands\list\text.js

oclif-example read:json SOURCE PATH

reads entries in json format from a BlockFor.fun git registry

USAGE
  $ oclif-example 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
  $ oclif-example get:json

See code: src\commands\read\json.js

oclif-example read:text SOURCE PATH

reads entries in text format from a BlockFor.fun git registry

USAGE
  $ oclif-example 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
  $ 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
  -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
  $ 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
  -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
  $ oclif-example put:text

See code: src\commands\write\text.js

Dependencies (19)

Dev Dependencies (4)

Package Sidebar

Install

npm i @blockforfun/plugin-git

Weekly Downloads

2

Version

6.0.0

License

MIT

Unpacked Size

42.1 kB

Total Files

20

Last publish

Collaborators

  • anonrig
  • mikaelkaron