@labdao/openlab-cli
v0.0.3
Published
LabDAO OpenLab CLI
Downloads
5
Readme
@labdao/openlab-cli
LabDAO OpenLab CLI
!! NOTE !! - this repo is in active development and not ready to use. Please wait for the first release.
Usage
Install via NPM
$ npm install -g @labdao/openlab-cli
$ openlab COMMAND
running command...
$ openlab (--version)
@labdao/openlab-cli/0.0.3 linux-x64 node-v14.18.2
$ openlab --help [COMMAND]
USAGE
$ openlab COMMAND
...
Commands
openlab file list [PATH]
list files
USAGE
$ openlab file list [PATH] [--columns <value> | -x] [--sort <value>] [--filter <value>] [--output
csv|json|yaml | | [--csv | --no-truncate]] [--no-header | ]
ARGUMENTS
PATH remote path to list
FLAGS
-x, --extended show extra columns
--columns=<value> only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=<option> output in a more machine friendly format
<options: csv|json|yaml>
--sort=<value> property to sort by (prepend '-' for descending)
DESCRIPTION
list files
EXAMPLES
$ openlab file list
openlab file pull CID
pull a remote file from IPFS to your local file system
USAGE
$ openlab file pull [CID] [-o <value>]
ARGUMENTS
CID the IPFS content identifier of the file or directory to pull
FLAGS
-o, --outpath=<value> [default: .] the path where the pulled file or directory should be stored
DESCRIPTION
pull a remote file from IPFS to your local file system
EXAMPLES
$ openlab file pull
openlab file push [PATH]
push a local file from your storage system to IPFS
USAGE
$ openlab file push [PATH]
ARGUMENTS
PATH path of file or directory to push
DESCRIPTION
push a local file from your storage system to IPFS
EXAMPLES
$ openlab file push
openlab help [COMMAND]
Display help for openlab.
USAGE
$ openlab help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for openlab.
See code: @oclif/plugin-help