@bloq/cloud-cli

BloqCloud CLI

Usage no npm install needed!

<script type="module">
  import bloqCloudCli from 'https://cdn.skypack.dev/@bloq/cloud-cli';
</script>

README

cloud-cli

☁️ 💻

oclif Version Downloads/week License

Usage

$ npm install -g @bloq/cloud-cli
$ bcl COMMAND
running command...
$ bcl (-v|--version|version)
@bloq/cloud-cli/3.0.0 darwin-x64 node-v14.17.6
$ bcl --help [COMMAND]
USAGE
  $ bcl COMMAND
...

Commands

bcl client-keys OPERATION

Manage your Bloq client key(s)

USAGE
  $ bcl client-keys OPERATION

ARGUMENTS
  OPERATION  (create|list|remove) [default: list] Specify the type of client-keys operation to run

OPTIONS
  -i, --clientId=clientId  client id

See code: src/commands/client-keys.js

bcl client-token

Generate new client token(s)

USAGE
  $ bcl client-token

See code: src/commands/client-token.js

bcl clusters OPERATION

Manage your Bloq clusters

USAGE
  $ bcl clusters OPERATION

ARGUMENTS
  OPERATION  (create|disable-service|info|list|remove|services|update) [default: list] Specify the type of cluster
             operation to run

OPTIONS
  -S, --sort=sort                          results sorting key
  -a, --all                                list all clusters
  -c, --capacity=capacity                  [default: 2] capacity
  -i, --clusterId=clusterId                cluster id
  -j, --json                               JSON output
  -o, --onDemandCapacity=onDemandCapacity  [default: 1] on-demand capacity
  -s, --serviceId=serviceId                service id
  -t, --authType=(jwt|basic|none)          [default: basic] auth type: jwt, basic or none
  -y, --yes                                answer "yes" to prompts
  --abort                                  Abort an (update) operation

See code: src/commands/clusters.js

bcl conf [KEY] [VALUE]

manage configuration

USAGE
  $ bcl conf [KEY] [VALUE]

ARGUMENTS
  KEY    key of the config
  VALUE  value of the config

OPTIONS
  -d, --cwd=cwd          config file location
  -d, --delete           delete?
  -h, --help             show CLI help
  -k, --key=key          key of the config
  -n, --name=name        config file name
  -p, --project=project  project name
  -v, --value=value      value of the config

See code: conf-cli

bcl events

Get Bloq daily events

USAGE
  $ bcl events

OPTIONS
  -s, --service=service  service name

See code: src/commands/events.js

bcl help [COMMAND]

display help for bcl

USAGE
  $ bcl help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

bcl login

Login to your Bloq account

USAGE
  $ bcl login

OPTIONS
  -p, --password=password  password
  -u, --user=user          email address or account id

See code: src/commands/login.js

bcl logout

Clear local user data

USAGE
  $ bcl logout

See code: src/commands/logout.js

bcl nodes OPERATION

Manage your Bloq nodes

USAGE
  $ bcl nodes OPERATION

ARGUMENTS
  OPERATION  (create|list|remove|info|chains|services) [default: list] Specify the type of nodes operation to run

OPTIONS
  -a, --all                   list all nodes
  -i, --nodeId=nodeId         node id
  -s, --serviceId=serviceId   service id
  -t, --authType=(jwt|basic)  [default: basic] auth type (jwt or basic)

See code: src/commands/nodes.js

bcl profile

Retrieve user profile

USAGE
  $ bcl profile

See code: src/commands/profile.js

bcl signup

Setup a new Bloq account

USAGE
  $ bcl signup

See code: src/commands/signup.js

bcl status

Get Bloq services status

USAGE
  $ bcl status

See code: src/commands/status.js

bcl update-password

Update user password

USAGE
  $ bcl update-password

See code: src/commands/update-password.js

bcl user-keys OPERATION

Manage your Bloq user key(s)

USAGE
  $ bcl user-keys OPERATION

ARGUMENTS
  OPERATION  (create|list|remove|info) [default: list] Specify the type of user-keys operation to run

OPTIONS
  -i, --keyId=keyId   key id
  -t, --type=bit|pgp  key type

See code: src/commands/user-keys.js

bcl verify

Verifies your Bloq account and complete signup process

USAGE
  $ bcl verify

OPTIONS
  -t, --token=token  verification token
  -u, --user=user    email address or account id

See code: src/commands/verify.js