/bluescape-cli-legacy

fork of bluescape-cli

Primary LanguageTypeScript

Install

npm

you can install bluescape cli via npm.

$ npm install bluescape/bluescape-cli#latest -g

Basic Usage

Setup

Configure a instance

$ bluescape config set instance

Login

$ bluescape login

Session

Get current session user & instance

$ bluescape whoami

User Management

User Get

# Get user by Id.
$ bluescape user get <userId|email> 
$ bluescape user get <userId|email>  --attributes=id,email,metadata

User Delete

  • [--from-csv]: CSV File Path Format sample file

  • [--new-owner-id]: If deleted user own workspace, we will re-asssign this user as owner.

  • [--force]: force flag will be delete user permanetly from database.

#Delete user by email Id and CSV file
$ bluescape user delete --from-csv=./sample/user_delete.csv --new-owner-id=zANz6n3RKfNXO01a36EY --force

# Add custom link to the users in the CSV file user by email Id and CSV file
$ bluescape customlink add --from-csv=./sample/customlink.csv --blocked-domains=./sample/blocked-domains.csv

Uninstall

npm

you can uninstall bluescape cli via npm.

$ npm uninstall  @bluescape/cli -g

Provisioning license quantity of a legacy enterprise

# Link an external legacy enterprise subscription to the organization
$ bluescape provisionlicense link-external-legacy-subscription