2.3.8 • Published 8 months ago

@ordinlabs/wsm-cli v2.3.8

Weekly downloads
-
License
LGPL-3.0-only
Repository
-
Last release
8 months ago

Workspace Manager CLI

Getting an API Key

  1. Log in to the admin application.
  2. Click on your username in the top right corner and click the Profile link.
  3. Click on the Profile tab.
  4. Click the Generate new access key button.
  5. Provide a description of the key and an expiration date.
  6. Click the Generate button.
  7. Copy the key and store it in a safe place. Note: there is no way to view the key after this dialog is dismissed.

Getting Started

Create a credentials file at ~/.wsm/credentials.yaml with the following settings:

url: https://www.example.com
apiKey: the-api-key

You can then use the wsm-cli command to interact with the Workspace Manager.

wsm-cli start-workspace 12345

Supported Commands

You can get the list of commands by running

wsm-cli -h

You can get help for each command by running

wsm-cli help <command>

Supporting Multiple WSM Environments

You can create multiple credentials files and use the --config option to specify which one to use.

wsm-cli --config ./dev-environment.yaml start-workspace 12345

You can also specify multiple profiles in your main ~/.wsm/credentials.yaml file.

default:
  url: https://www.example.com
  apiKey: default-api-key
dev:
  url: https://wsm-dev.example.com
  apiKey: dev-api-key

You can then specify which profile to use with the --profile option.

wsm-cli --profile dev start-workspace 12345

If no --profile option is specified, default is used.

2.3.8-alpha.3

8 months ago

2.3.8

8 months ago

2.3.8-alpha.2

8 months ago

2.3.8-alpha.1

8 months ago

2.3.8-alpha.0

8 months ago

2.3.0

9 months ago

2.3.2

9 months ago

2.3.1

9 months ago

2.3.4

9 months ago

2.3.3

9 months ago

2.3.6

9 months ago

2.3.5

9 months ago

2.3.0-alpha.10

9 months ago

2.3.0-alpha.11

9 months ago

2.3.7

9 months ago

2.3.0-alpha.8

9 months ago

2.3.0-alpha.9

9 months ago

2.3.0-alpha.7

9 months ago

2.3.0-alpha.2

9 months ago

2.3.0-alpha.3

9 months ago

2.3.0-alpha.6

9 months ago

2.3.0-alpha-nest.1

9 months ago

2.3.0-alpha.4

9 months ago

2.3.0-alpha.5

9 months ago

2.3.0-alpha.1

10 months ago

2.3.0-alpha.0

12 months ago

2.2.3-alpha.10

12 months ago

2.2.3-alpha.9

12 months ago

2.2.3-alpha.0

12 months ago

2.2.2

12 months ago

2.2.1

12 months ago