|
@@ -9,35 +9,13 @@ Command Line Interface for Joystream community and governance activities
|
|
[](https://github.com/Joystream/joystream/blob/master/cli/package.json)
|
|
[](https://github.com/Joystream/joystream/blob/master/cli/package.json)
|
|
|
|
|
|
<!-- toc -->
|
|
<!-- toc -->
|
|
-* [Development](#development)
|
|
|
|
* [Usage](#usage)
|
|
* [Usage](#usage)
|
|
|
|
+* [Development](#development)
|
|
* [First steps](#first-steps)
|
|
* [First steps](#first-steps)
|
|
|
|
+* [Useful environment settings](#useful-environment-settings)
|
|
* [Commands](#commands)
|
|
* [Commands](#commands)
|
|
-* [Environment variables](#environment-variables)
|
|
|
|
<!-- tocstop -->
|
|
<!-- tocstop -->
|
|
|
|
|
|
-# Development
|
|
|
|
-<!-- development -->
|
|
|
|
-To run a command in developemnt environment (without installing the package):
|
|
|
|
-
|
|
|
|
-1. Navigate into the CLI root directory
|
|
|
|
-1. Execute any command like this:
|
|
|
|
-
|
|
|
|
- ```
|
|
|
|
- $ ./bin/run COMMAND
|
|
|
|
- ```
|
|
|
|
-
|
|
|
|
-Alternatively:
|
|
|
|
-
|
|
|
|
-1. Navigate into the CLI root directory
|
|
|
|
-1. Execute `yarn link` (if that doesn't work, consider `sudo yarn link`)
|
|
|
|
-1. Execute command from any location like this:
|
|
|
|
-
|
|
|
|
- ```
|
|
|
|
- $ joystream-cli COMMAND
|
|
|
|
- ```
|
|
|
|
-<!-- developmentstop -->
|
|
|
|
-
|
|
|
|
# Usage
|
|
# Usage
|
|
<!-- usage -->
|
|
<!-- usage -->
|
|
```sh-session
|
|
```sh-session
|
|
@@ -45,7 +23,7 @@ $ npm install -g @joystream/cli
|
|
$ joystream-cli COMMAND
|
|
$ joystream-cli COMMAND
|
|
running command...
|
|
running command...
|
|
$ joystream-cli (-v|--version|version)
|
|
$ joystream-cli (-v|--version|version)
|
|
-@joystream/cli/0.5.1 linux-x64 node-v14.16.1
|
|
|
|
|
|
+@joystream/cli/0.6.0 linux-x64 node-v14.18.0
|
|
$ joystream-cli --help [COMMAND]
|
|
$ joystream-cli --help [COMMAND]
|
|
USAGE
|
|
USAGE
|
|
$ joystream-cli COMMAND
|
|
$ joystream-cli COMMAND
|
|
@@ -53,28 +31,56 @@ USAGE
|
|
```
|
|
```
|
|
<!-- usagestop -->
|
|
<!-- usagestop -->
|
|
|
|
|
|
|
|
+# Development
|
|
|
|
+<!-- development -->
|
|
|
|
+To run a command in developemnt environment (from the root of [Joystream monorepo](https://github.com/Joystream/joystream), without installing the package):
|
|
|
|
+
|
|
|
|
+```shell
|
|
|
|
+ $ yarn && yarn workspace @joystream/types build && yarn workspace @joystream/metadata-protobuf build
|
|
|
|
+ $ ./cli/bin/run COMMAND # OR:
|
|
|
|
+ $ yarn joystream-cli COMMAND
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+Alternatively:
|
|
|
|
+
|
|
|
|
+```shell
|
|
|
|
+ $ yarn workspace @joystream/cli link
|
|
|
|
+ $ joystream-cli COMMAND
|
|
|
|
+```
|
|
|
|
+<!-- developmentstop -->
|
|
|
|
+
|
|
|
|
+
|
|
# First steps
|
|
# First steps
|
|
<!-- first-steps -->
|
|
<!-- first-steps -->
|
|
When using the CLI for the first time there are a few common steps you might want to take in order to configure the CLI:
|
|
When using the CLI for the first time there are a few common steps you might want to take in order to configure the CLI:
|
|
|
|
|
|
-1. Set the correct node endpoint. You can do this by executing `api:setUri` or any command that requires an api connection. To verify the current endpoint you can execute `api:getUri`.
|
|
|
|
-1. In order to use the accounts/keys that you may already have access to within Pioneer, you need to dowload the backup json file(s) ([https://testnet.joystream.org/#/accounts](https://testnet.joystream.org/#/accounts)) and import them into the CLI by executing `account:import /path/to/backup.json`.
|
|
|
|
-1. By executing `account:choose` you can choose one of the imported accounts, that will then serve as context for the next commands (you can check currently selected account using `account:info`). If you just want to use the development _Alice_ or _Bob_ account, you can access them without importing by providing an additional flag: `account:choose --showSpecial`.
|
|
|
|
-1. The context should now be fully set up! Feel free to use the `--help` flag to investigate the available commands or take a look at the sections below.
|
|
|
|
-1. You may also find it useful to get the first part of the command (before the colon) autocompleted when you press `[Tab]` while typing the name in the console. Executing `autocomplete` command will provide the instructions on how to set this up (see documentation below).
|
|
|
|
|
|
+1. Set the correct Joystream node websocket endpoint. You can do this by executing [`api:setUri`](#joystream-cli-apiseturi-uri) and choosing one of the suggested endpoints of providing your own url. To verify the currently used Joystream node websocket endpoint you can execute [`api:getUri`](#joystream-cli-apigeturi).
|
|
|
|
+2. Set the Joystream query node endpoint. This is optional, but some commands (for example: [`content:createChannel`](#joystream-cli-contentcreatechannel)) will require a connection to the query node in order to fetch the data they need complete the requested operations (ie. [`content:createChannel`](#joystream-cli-contentcreatechannel) will need to fetch the available storage node endnpoints in order to upload the channel assets). In order to do that, execute [`api:setQueryNodeEndpoint`](#joystream-cli-apisetquerynodeendpoint-endpoint) and choose one of the suggested endpoints or provide your own url. You can use [`api:getQueryNodeEndpoint`](#joystream-cli-apigetquerynodeendpoint) any time to verify the currently set endpoint.
|
|
|
|
+3. In order to use your existing keys within the CLI, you can import them using [`account:import`](#joystream-cli-accountimport) command. You can provide json backup files exported from Pioneer or Polkadot{.js} extension as an input. You can also use raw mnemonic or seed phrases. See the [`account:import` command documentation](#joystream-cli-accountimport) for the full list of supported inputs.
|
|
|
|
+ The key to sign the transaction(s) with will be determined based on the required permissions, depending on the command you execute. For example, if you execute [`working-groups:updateRewardAccount --group storageProviders`](#joystream-cli-working-groupsupdaterewardaccount-address), the CLI will look for a storage provider role key among your available keys. If multiple execution contexts are available, the CLI will prompt you to choose the desired one.
|
|
|
|
+4. **Optionally:** You may also find it useful to get the first part of the command (before the colon) autocompleted when you press `[Tab]` while typing the command name in the console. Executing [`autocomplete`](#joystream-cli-autocomplete-shell) command will provide you the instructions on how to set this up.
|
|
|
|
+5. That's it! The CLI is now be fully set up! Feel free to use the `--help` flag to investigate the available commands or take a look at the commands documentation below.
|
|
<!-- first-steps -->
|
|
<!-- first-steps -->
|
|
|
|
|
|
|
|
+# Useful environment settings
|
|
|
|
+<!-- env -->
|
|
|
|
+- `FORCE_COLOR=0` - disables output coloring. This will make the output easier to parse in case it's redirected to a file or used within a script.
|
|
|
|
+- `AUTO_CONFIRM=true` - this will make the CLI skip asking for any confirmations (can be useful when creating bash scripts).
|
|
|
|
+<!-- envstop -->
|
|
|
|
+
|
|
# Commands
|
|
# Commands
|
|
<!-- commands -->
|
|
<!-- commands -->
|
|
-* [`joystream-cli account:choose`](#joystream-cli-accountchoose)
|
|
|
|
-* [`joystream-cli account:create NAME`](#joystream-cli-accountcreate-name)
|
|
|
|
-* [`joystream-cli account:current`](#joystream-cli-accountcurrent)
|
|
|
|
-* [`joystream-cli account:export PATH`](#joystream-cli-accountexport-path)
|
|
|
|
|
|
+* [`joystream-cli account:create`](#joystream-cli-accountcreate)
|
|
|
|
+* [`joystream-cli account:export DESTPATH`](#joystream-cli-accountexport-destpath)
|
|
* [`joystream-cli account:forget`](#joystream-cli-accountforget)
|
|
* [`joystream-cli account:forget`](#joystream-cli-accountforget)
|
|
-* [`joystream-cli account:import BACKUPFILEPATH`](#joystream-cli-accountimport-backupfilepath)
|
|
|
|
-* [`joystream-cli account:transferTokens RECIPIENT AMOUNT`](#joystream-cli-accounttransfertokens-recipient-amount)
|
|
|
|
|
|
+* [`joystream-cli account:import`](#joystream-cli-accountimport)
|
|
|
|
+* [`joystream-cli account:info [ADDRESS]`](#joystream-cli-accountinfo-address)
|
|
|
|
+* [`joystream-cli account:list`](#joystream-cli-accountlist)
|
|
|
|
+* [`joystream-cli account:transferTokens`](#joystream-cli-accounttransfertokens)
|
|
|
|
+* [`joystream-cli api:getQueryNodeEndpoint`](#joystream-cli-apigetquerynodeendpoint)
|
|
* [`joystream-cli api:getUri`](#joystream-cli-apigeturi)
|
|
* [`joystream-cli api:getUri`](#joystream-cli-apigeturi)
|
|
* [`joystream-cli api:inspect`](#joystream-cli-apiinspect)
|
|
* [`joystream-cli api:inspect`](#joystream-cli-apiinspect)
|
|
|
|
+* [`joystream-cli api:setQueryNodeEndpoint [ENDPOINT]`](#joystream-cli-apisetquerynodeendpoint-endpoint)
|
|
* [`joystream-cli api:setUri [URI]`](#joystream-cli-apiseturi-uri)
|
|
* [`joystream-cli api:setUri [URI]`](#joystream-cli-apiseturi-uri)
|
|
* [`joystream-cli autocomplete [SHELL]`](#joystream-cli-autocomplete-shell)
|
|
* [`joystream-cli autocomplete [SHELL]`](#joystream-cli-autocomplete-shell)
|
|
* [`joystream-cli content:addCuratorToGroup [GROUPID] [CURATORID]`](#joystream-cli-contentaddcuratortogroup-groupid-curatorid)
|
|
* [`joystream-cli content:addCuratorToGroup [GROUPID] [CURATORID]`](#joystream-cli-contentaddcuratortogroup-groupid-curatorid)
|
|
@@ -87,8 +93,11 @@ When using the CLI for the first time there are a few common steps you might wan
|
|
* [`joystream-cli content:createVideoCategory`](#joystream-cli-contentcreatevideocategory)
|
|
* [`joystream-cli content:createVideoCategory`](#joystream-cli-contentcreatevideocategory)
|
|
* [`joystream-cli content:curatorGroup ID`](#joystream-cli-contentcuratorgroup-id)
|
|
* [`joystream-cli content:curatorGroup ID`](#joystream-cli-contentcuratorgroup-id)
|
|
* [`joystream-cli content:curatorGroups`](#joystream-cli-contentcuratorgroups)
|
|
* [`joystream-cli content:curatorGroups`](#joystream-cli-contentcuratorgroups)
|
|
|
|
+* [`joystream-cli content:deleteChannel`](#joystream-cli-contentdeletechannel)
|
|
* [`joystream-cli content:deleteChannelCategory CHANNELCATEGORYID`](#joystream-cli-contentdeletechannelcategory-channelcategoryid)
|
|
* [`joystream-cli content:deleteChannelCategory CHANNELCATEGORYID`](#joystream-cli-contentdeletechannelcategory-channelcategoryid)
|
|
|
|
+* [`joystream-cli content:deleteVideo`](#joystream-cli-contentdeletevideo)
|
|
* [`joystream-cli content:deleteVideoCategory VIDEOCATEGORYID`](#joystream-cli-contentdeletevideocategory-videocategoryid)
|
|
* [`joystream-cli content:deleteVideoCategory VIDEOCATEGORYID`](#joystream-cli-contentdeletevideocategory-videocategoryid)
|
|
|
|
+* [`joystream-cli content:removeChannelAssets`](#joystream-cli-contentremovechannelassets)
|
|
* [`joystream-cli content:removeCuratorFromGroup [GROUPID] [CURATORID]`](#joystream-cli-contentremovecuratorfromgroup-groupid-curatorid)
|
|
* [`joystream-cli content:removeCuratorFromGroup [GROUPID] [CURATORID]`](#joystream-cli-contentremovecuratorfromgroup-groupid-curatorid)
|
|
* [`joystream-cli content:reuploadAssets`](#joystream-cli-contentreuploadassets)
|
|
* [`joystream-cli content:reuploadAssets`](#joystream-cli-contentreuploadassets)
|
|
* [`joystream-cli content:setCuratorGroupStatus [ID] [STATUS]`](#joystream-cli-contentsetcuratorgroupstatus-id-status)
|
|
* [`joystream-cli content:setCuratorGroupStatus [ID] [STATUS]`](#joystream-cli-contentsetcuratorgroupstatus-id-status)
|
|
@@ -118,111 +127,129 @@ When using the CLI for the first time there are a few common steps you might wan
|
|
* [`joystream-cli working-groups:startAcceptingApplications WGOPENINGID`](#joystream-cli-working-groupsstartacceptingapplications-wgopeningid)
|
|
* [`joystream-cli working-groups:startAcceptingApplications WGOPENINGID`](#joystream-cli-working-groupsstartacceptingapplications-wgopeningid)
|
|
* [`joystream-cli working-groups:startReviewPeriod WGOPENINGID`](#joystream-cli-working-groupsstartreviewperiod-wgopeningid)
|
|
* [`joystream-cli working-groups:startReviewPeriod WGOPENINGID`](#joystream-cli-working-groupsstartreviewperiod-wgopeningid)
|
|
* [`joystream-cli working-groups:terminateApplication WGAPPLICATIONID`](#joystream-cli-working-groupsterminateapplication-wgapplicationid)
|
|
* [`joystream-cli working-groups:terminateApplication WGAPPLICATIONID`](#joystream-cli-working-groupsterminateapplication-wgapplicationid)
|
|
-* [`joystream-cli working-groups:updateRewardAccount [ACCOUNTADDRESS]`](#joystream-cli-working-groupsupdaterewardaccount-accountaddress)
|
|
|
|
-* [`joystream-cli working-groups:updateRoleAccount [ACCOUNTADDRESS]`](#joystream-cli-working-groupsupdateroleaccount-accountaddress)
|
|
|
|
|
|
+* [`joystream-cli working-groups:updateRewardAccount [ADDRESS]`](#joystream-cli-working-groupsupdaterewardaccount-address)
|
|
|
|
+* [`joystream-cli working-groups:updateRoleAccount [ADDRESS]`](#joystream-cli-working-groupsupdateroleaccount-address)
|
|
* [`joystream-cli working-groups:updateRoleStorage STORAGE`](#joystream-cli-working-groupsupdaterolestorage-storage)
|
|
* [`joystream-cli working-groups:updateRoleStorage STORAGE`](#joystream-cli-working-groupsupdaterolestorage-storage)
|
|
* [`joystream-cli working-groups:updateWorkerReward WORKERID`](#joystream-cli-working-groupsupdateworkerreward-workerid)
|
|
* [`joystream-cli working-groups:updateWorkerReward WORKERID`](#joystream-cli-working-groupsupdateworkerreward-workerid)
|
|
|
|
|
|
-## `joystream-cli account:choose`
|
|
|
|
|
|
+## `joystream-cli account:create`
|
|
|
|
|
|
-Choose default account to use in the CLI
|
|
|
|
|
|
+Create a new account
|
|
|
|
|
|
```
|
|
```
|
|
USAGE
|
|
USAGE
|
|
- $ joystream-cli account:choose
|
|
|
|
|
|
+ $ joystream-cli account:create
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -S, --showSpecial Whether to show special (DEV chain) accounts
|
|
|
|
- -a, --address=address Select account by address (if available)
|
|
|
|
|
|
+ --name=name Account name
|
|
|
|
+ --type=(sr25519|ed25519) Account type (defaults to sr25519)
|
|
```
|
|
```
|
|
|
|
|
|
-_See code: [src/commands/account/choose.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/choose.ts)_
|
|
|
|
|
|
+_See code: [src/commands/account/create.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/create.ts)_
|
|
|
|
|
|
-## `joystream-cli account:create NAME`
|
|
|
|
|
|
+## `joystream-cli account:export DESTPATH`
|
|
|
|
|
|
-Create new account
|
|
|
|
|
|
+Export account(s) to given location
|
|
|
|
|
|
```
|
|
```
|
|
USAGE
|
|
USAGE
|
|
- $ joystream-cli account:create NAME
|
|
|
|
|
|
+ $ joystream-cli account:export DESTPATH
|
|
|
|
|
|
ARGUMENTS
|
|
ARGUMENTS
|
|
- NAME Account name
|
|
|
|
|
|
+ DESTPATH Path where the exported files should be placed
|
|
|
|
+
|
|
|
|
+OPTIONS
|
|
|
|
+ -a, --all If provided, exports all existing accounts into "exported_accounts" folder inside given path
|
|
|
|
+ -n, --name=name Name of the account to export
|
|
```
|
|
```
|
|
|
|
|
|
-_See code: [src/commands/account/create.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/create.ts)_
|
|
|
|
|
|
+_See code: [src/commands/account/export.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/export.ts)_
|
|
|
|
|
|
-## `joystream-cli account:current`
|
|
|
|
|
|
+## `joystream-cli account:forget`
|
|
|
|
|
|
-Display information about currently choosen default account
|
|
|
|
|
|
+Forget (remove) account from the list of available accounts
|
|
|
|
|
|
```
|
|
```
|
|
USAGE
|
|
USAGE
|
|
- $ joystream-cli account:current
|
|
|
|
|
|
+ $ joystream-cli account:forget
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+_See code: [src/commands/account/forget.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/forget.ts)_
|
|
|
|
+
|
|
|
|
+## `joystream-cli account:import`
|
|
|
|
+
|
|
|
|
+Import account using mnemonic phrase, seed, suri or json backup file
|
|
|
|
|
|
-ALIASES
|
|
|
|
- $ joystream-cli account:info
|
|
|
|
- $ joystream-cli account:default
|
|
|
|
```
|
|
```
|
|
|
|
+USAGE
|
|
|
|
+ $ joystream-cli account:import
|
|
|
|
|
|
-_See code: [src/commands/account/current.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/current.ts)_
|
|
|
|
|
|
+OPTIONS
|
|
|
|
+ --backupFilePath=backupFilePath Path to account backup JSON file
|
|
|
|
+ --mnemonic=mnemonic Mnemonic phrase
|
|
|
|
+ --name=name Account name
|
|
|
|
+ --password=password Account password
|
|
|
|
+ --seed=seed Secret seed
|
|
|
|
+ --suri=suri Substrate uri
|
|
|
|
+ --type=(sr25519|ed25519) Account type (defaults to sr25519)
|
|
|
|
+```
|
|
|
|
|
|
-## `joystream-cli account:export PATH`
|
|
|
|
|
|
+_See code: [src/commands/account/import.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/import.ts)_
|
|
|
|
|
|
-Export account(s) to given location
|
|
|
|
|
|
+## `joystream-cli account:info [ADDRESS]`
|
|
|
|
+
|
|
|
|
+Display detailed information about specified account
|
|
|
|
|
|
```
|
|
```
|
|
USAGE
|
|
USAGE
|
|
- $ joystream-cli account:export PATH
|
|
|
|
|
|
+ $ joystream-cli account:info [ADDRESS]
|
|
|
|
|
|
ARGUMENTS
|
|
ARGUMENTS
|
|
- PATH Path where the exported files should be placed
|
|
|
|
|
|
+ ADDRESS An address to inspect (can also be provided interavtively)
|
|
|
|
|
|
-OPTIONS
|
|
|
|
- -a, --all If provided, exports all existing accounts into "exported_accounts" folder inside given path
|
|
|
|
|
|
+ALIASES
|
|
|
|
+ $ joystream-cli account:inspect
|
|
```
|
|
```
|
|
|
|
|
|
-_See code: [src/commands/account/export.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/export.ts)_
|
|
|
|
|
|
+_See code: [src/commands/account/info.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/info.ts)_
|
|
|
|
|
|
-## `joystream-cli account:forget`
|
|
|
|
|
|
+## `joystream-cli account:list`
|
|
|
|
|
|
-Forget (remove) account from the list of available accounts
|
|
|
|
|
|
+List all available accounts
|
|
|
|
|
|
```
|
|
```
|
|
USAGE
|
|
USAGE
|
|
- $ joystream-cli account:forget
|
|
|
|
|
|
+ $ joystream-cli account:list
|
|
```
|
|
```
|
|
|
|
|
|
-_See code: [src/commands/account/forget.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/forget.ts)_
|
|
|
|
|
|
+_See code: [src/commands/account/list.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/list.ts)_
|
|
|
|
|
|
-## `joystream-cli account:import BACKUPFILEPATH`
|
|
|
|
|
|
+## `joystream-cli account:transferTokens`
|
|
|
|
|
|
-Import account using JSON backup file
|
|
|
|
|
|
+Transfer tokens from any of the available accounts
|
|
|
|
|
|
```
|
|
```
|
|
USAGE
|
|
USAGE
|
|
- $ joystream-cli account:import BACKUPFILEPATH
|
|
|
|
|
|
+ $ joystream-cli account:transferTokens
|
|
|
|
|
|
-ARGUMENTS
|
|
|
|
- BACKUPFILEPATH Path to account backup JSON file
|
|
|
|
|
|
+OPTIONS
|
|
|
|
+ --amount=amount (required) Amount of tokens to transfer
|
|
|
|
+ --from=from Address of the sender (can also be provided interactively)
|
|
|
|
+ --to=to Address of the recipient (can also be provided interactively)
|
|
```
|
|
```
|
|
|
|
|
|
-_See code: [src/commands/account/import.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/import.ts)_
|
|
|
|
|
|
+_See code: [src/commands/account/transferTokens.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/transferTokens.ts)_
|
|
|
|
|
|
-## `joystream-cli account:transferTokens RECIPIENT AMOUNT`
|
|
|
|
|
|
+## `joystream-cli api:getQueryNodeEndpoint`
|
|
|
|
|
|
-Transfer tokens from currently choosen account
|
|
|
|
|
|
+Get current query node endpoint
|
|
|
|
|
|
```
|
|
```
|
|
USAGE
|
|
USAGE
|
|
- $ joystream-cli account:transferTokens RECIPIENT AMOUNT
|
|
|
|
-
|
|
|
|
-ARGUMENTS
|
|
|
|
- RECIPIENT Address of the transfer recipient
|
|
|
|
- AMOUNT Amount of tokens to transfer
|
|
|
|
|
|
+ $ joystream-cli api:getQueryNodeEndpoint
|
|
```
|
|
```
|
|
|
|
|
|
-_See code: [src/commands/account/transferTokens.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/account/transferTokens.ts)_
|
|
|
|
|
|
+_See code: [src/commands/api/getQueryNodeEndpoint.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/api/getQueryNodeEndpoint.ts)_
|
|
|
|
|
|
## `joystream-cli api:getUri`
|
|
## `joystream-cli api:getUri`
|
|
|
|
|
|
@@ -279,6 +306,20 @@ EXAMPLES
|
|
|
|
|
|
_See code: [src/commands/api/inspect.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/api/inspect.ts)_
|
|
_See code: [src/commands/api/inspect.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/api/inspect.ts)_
|
|
|
|
|
|
|
|
+## `joystream-cli api:setQueryNodeEndpoint [ENDPOINT]`
|
|
|
|
+
|
|
|
|
+Set query node endpoint
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+USAGE
|
|
|
|
+ $ joystream-cli api:setQueryNodeEndpoint [ENDPOINT]
|
|
|
|
+
|
|
|
|
+ARGUMENTS
|
|
|
|
+ ENDPOINT Query node endpoint for the CLI to use
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+_See code: [src/commands/api/setQueryNodeEndpoint.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/api/setQueryNodeEndpoint.ts)_
|
|
|
|
+
|
|
## `joystream-cli api:setUri [URI]`
|
|
## `joystream-cli api:setUri [URI]`
|
|
|
|
|
|
Set api WS provider uri
|
|
Set api WS provider uri
|
|
@@ -409,8 +450,9 @@ USAGE
|
|
$ joystream-cli content:createVideo
|
|
$ joystream-cli content:createVideo
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -c, --channelId=channelId (required) ID of the Channel
|
|
|
|
- -i, --input=input (required) Path to JSON file to use as input
|
|
|
|
|
|
+ -c, --channelId=channelId (required) ID of the Channel
|
|
|
|
+ -i, --input=input (required) Path to JSON file to use as input
|
|
|
|
+ --context=(Owner|Collaborator) Actor context to execute the command in (Owner/Collaborator)
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/content/createVideo.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/createVideo.ts)_
|
|
_See code: [src/commands/content/createVideo.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/createVideo.ts)_
|
|
@@ -455,6 +497,21 @@ USAGE
|
|
|
|
|
|
_See code: [src/commands/content/curatorGroups.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/curatorGroups.ts)_
|
|
_See code: [src/commands/content/curatorGroups.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/curatorGroups.ts)_
|
|
|
|
|
|
|
|
+## `joystream-cli content:deleteChannel`
|
|
|
|
+
|
|
|
|
+Delete the channel and optionally all associated data objects.
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+USAGE
|
|
|
|
+ $ joystream-cli content:deleteChannel
|
|
|
|
+
|
|
|
|
+OPTIONS
|
|
|
|
+ -c, --channelId=channelId (required) ID of the Channel
|
|
|
|
+ -f, --force Force-remove all associated channel data objects
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+_See code: [src/commands/content/deleteChannel.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/deleteChannel.ts)_
|
|
|
|
+
|
|
## `joystream-cli content:deleteChannelCategory CHANNELCATEGORYID`
|
|
## `joystream-cli content:deleteChannelCategory CHANNELCATEGORYID`
|
|
|
|
|
|
Delete channel category.
|
|
Delete channel category.
|
|
@@ -472,6 +529,22 @@ OPTIONS
|
|
|
|
|
|
_See code: [src/commands/content/deleteChannelCategory.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/deleteChannelCategory.ts)_
|
|
_See code: [src/commands/content/deleteChannelCategory.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/deleteChannelCategory.ts)_
|
|
|
|
|
|
|
|
+## `joystream-cli content:deleteVideo`
|
|
|
|
+
|
|
|
|
+Delete the video and optionally all associated data objects.
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+USAGE
|
|
|
|
+ $ joystream-cli content:deleteVideo
|
|
|
|
+
|
|
|
|
+OPTIONS
|
|
|
|
+ -f, --force Force-remove all associated video data objects
|
|
|
|
+ -v, --videoId=videoId (required) ID of the Video
|
|
|
|
+ --context=(Owner|Collaborator) Actor context to execute the command in (Owner/Collaborator)
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+_See code: [src/commands/content/deleteVideo.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/deleteVideo.ts)_
|
|
|
|
+
|
|
## `joystream-cli content:deleteVideoCategory VIDEOCATEGORYID`
|
|
## `joystream-cli content:deleteVideoCategory VIDEOCATEGORYID`
|
|
|
|
|
|
Delete video category.
|
|
Delete video category.
|
|
@@ -489,6 +562,22 @@ OPTIONS
|
|
|
|
|
|
_See code: [src/commands/content/deleteVideoCategory.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/deleteVideoCategory.ts)_
|
|
_See code: [src/commands/content/deleteVideoCategory.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/deleteVideoCategory.ts)_
|
|
|
|
|
|
|
|
+## `joystream-cli content:removeChannelAssets`
|
|
|
|
+
|
|
|
|
+Remove data objects associated with the channel or any of its videos.
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+USAGE
|
|
|
|
+ $ joystream-cli content:removeChannelAssets
|
|
|
|
+
|
|
|
|
+OPTIONS
|
|
|
|
+ -c, --channelId=channelId (required) ID of the Channel
|
|
|
|
+ -o, --objectId=objectId (required) ID of an object to remove
|
|
|
|
+ --context=(Owner|Collaborator) Actor context to execute the command in (Owner/Collaborator)
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+_See code: [src/commands/content/removeChannelAssets.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/removeChannelAssets.ts)_
|
|
|
|
+
|
|
## `joystream-cli content:removeCuratorFromGroup [GROUPID] [CURATORID]`
|
|
## `joystream-cli content:removeCuratorFromGroup [GROUPID] [CURATORID]`
|
|
|
|
|
|
Remove Curator from Curator Group.
|
|
Remove Curator from Curator Group.
|
|
@@ -559,7 +648,8 @@ ARGUMENTS
|
|
CHANNELID ID of the Channel
|
|
CHANNELID ID of the Channel
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -i, --input=input (required) Path to JSON file to use as input
|
|
|
|
|
|
+ -i, --input=input (required) Path to JSON file to use as input
|
|
|
|
+ --context=(Owner|Collaborator) Actor context to execute the command in (Owner/Collaborator)
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/content/updateChannel.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/updateChannel.ts)_
|
|
_See code: [src/commands/content/updateChannel.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/updateChannel.ts)_
|
|
@@ -612,7 +702,8 @@ ARGUMENTS
|
|
VIDEOID ID of the Video
|
|
VIDEOID ID of the Video
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -i, --input=input (required) Path to JSON file to use as input
|
|
|
|
|
|
+ -i, --input=input (required) Path to JSON file to use as input
|
|
|
|
+ --context=(Owner|Collaborator) Actor context to execute the command in (Owner/Collaborator)
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/content/updateVideo.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/updateVideo.ts)_
|
|
_See code: [src/commands/content/updateVideo.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/updateVideo.ts)_
|
|
@@ -721,8 +812,10 @@ ARGUMENTS
|
|
WGAPPLICATIONID Working Group Application ID
|
|
WGAPPLICATIONID Working Group Application ID
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/application.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/application.ts)_
|
|
_See code: [src/commands/working-groups/application.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/application.ts)_
|
|
@@ -736,21 +829,23 @@ USAGE
|
|
$ joystream-cli working-groups:createOpening
|
|
$ joystream-cli working-groups:createOpening
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -e, --edit If provided along with --input - launches in edit mode allowing to
|
|
|
|
- modify the input before sending the exstinsic
|
|
|
|
|
|
+ -e, --edit
|
|
|
|
+ If provided along with --input - launches in edit mode allowing to modify the input before sending the exstinsic
|
|
|
|
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
|
|
|
|
- -i, --input=input Path to JSON file to use as input (if not specified - the input
|
|
|
|
- can be provided interactively)
|
|
|
|
|
|
+ -i, --input=input
|
|
|
|
+ Path to JSON file to use as input (if not specified - the input can be provided interactively)
|
|
|
|
|
|
- -o, --output=output Path to the file where the output JSON should be saved (this
|
|
|
|
- output can be then reused as input)
|
|
|
|
|
|
+ -o, --output=output
|
|
|
|
+ Path to the file where the output JSON should be saved (this output can be then reused as input)
|
|
|
|
|
|
- --dryRun If provided along with --output - skips sending the actual
|
|
|
|
- extrinsic(can be used to generate a "draft" which can be provided
|
|
|
|
- as input later)
|
|
|
|
|
|
+ --dryRun
|
|
|
|
+ If provided along with --output - skips sending the actual extrinsic(can be used to generate a "draft" which can be
|
|
|
|
+ provided as input later)
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/createOpening.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/createOpening.ts)_
|
|
_See code: [src/commands/working-groups/createOpening.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/createOpening.ts)_
|
|
@@ -767,8 +862,10 @@ ARGUMENTS
|
|
WORKERID Worker ID
|
|
WORKERID Worker ID
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/decreaseWorkerStake.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/decreaseWorkerStake.ts)_
|
|
_See code: [src/commands/working-groups/decreaseWorkerStake.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/decreaseWorkerStake.ts)_
|
|
@@ -785,8 +882,10 @@ ARGUMENTS
|
|
WORKERID Worker ID
|
|
WORKERID Worker ID
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/evictWorker.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/evictWorker.ts)_
|
|
_See code: [src/commands/working-groups/evictWorker.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/evictWorker.ts)_
|
|
@@ -803,8 +902,10 @@ ARGUMENTS
|
|
WGOPENINGID Working Group Opening ID
|
|
WGOPENINGID Working Group Opening ID
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/fillOpening.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/fillOpening.ts)_
|
|
_See code: [src/commands/working-groups/fillOpening.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/fillOpening.ts)_
|
|
@@ -818,8 +919,10 @@ USAGE
|
|
$ joystream-cli working-groups:increaseStake
|
|
$ joystream-cli working-groups:increaseStake
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/increaseStake.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/increaseStake.ts)_
|
|
_See code: [src/commands/working-groups/increaseStake.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/increaseStake.ts)_
|
|
@@ -833,8 +936,10 @@ USAGE
|
|
$ joystream-cli working-groups:leaveRole
|
|
$ joystream-cli working-groups:leaveRole
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/leaveRole.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/leaveRole.ts)_
|
|
_See code: [src/commands/working-groups/leaveRole.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/leaveRole.ts)_
|
|
@@ -851,8 +956,10 @@ ARGUMENTS
|
|
WGOPENINGID Working Group Opening ID
|
|
WGOPENINGID Working Group Opening ID
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/opening.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/opening.ts)_
|
|
_See code: [src/commands/working-groups/opening.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/opening.ts)_
|
|
@@ -866,8 +973,10 @@ USAGE
|
|
$ joystream-cli working-groups:openings
|
|
$ joystream-cli working-groups:openings
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/openings.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/openings.ts)_
|
|
_See code: [src/commands/working-groups/openings.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/openings.ts)_
|
|
@@ -881,8 +990,10 @@ USAGE
|
|
$ joystream-cli working-groups:overview
|
|
$ joystream-cli working-groups:overview
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/overview.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/overview.ts)_
|
|
_See code: [src/commands/working-groups/overview.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/overview.ts)_
|
|
@@ -896,8 +1007,10 @@ USAGE
|
|
$ joystream-cli working-groups:setDefaultGroup
|
|
$ joystream-cli working-groups:setDefaultGroup
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/setDefaultGroup.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/setDefaultGroup.ts)_
|
|
_See code: [src/commands/working-groups/setDefaultGroup.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/setDefaultGroup.ts)_
|
|
@@ -914,8 +1027,10 @@ ARGUMENTS
|
|
WORKERID Worker ID
|
|
WORKERID Worker ID
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/slashWorker.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/slashWorker.ts)_
|
|
_See code: [src/commands/working-groups/slashWorker.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/slashWorker.ts)_
|
|
@@ -932,8 +1047,10 @@ ARGUMENTS
|
|
WGOPENINGID Working Group Opening ID
|
|
WGOPENINGID Working Group Opening ID
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/startAcceptingApplications.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/startAcceptingApplications.ts)_
|
|
_See code: [src/commands/working-groups/startAcceptingApplications.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/startAcceptingApplications.ts)_
|
|
@@ -950,8 +1067,10 @@ ARGUMENTS
|
|
WGOPENINGID Working Group Opening ID
|
|
WGOPENINGID Working Group Opening ID
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/startReviewPeriod.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/startReviewPeriod.ts)_
|
|
_See code: [src/commands/working-groups/startReviewPeriod.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/startReviewPeriod.ts)_
|
|
@@ -968,44 +1087,50 @@ ARGUMENTS
|
|
WGAPPLICATIONID Working Group Application ID
|
|
WGAPPLICATIONID Working Group Application ID
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/terminateApplication.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/terminateApplication.ts)_
|
|
_See code: [src/commands/working-groups/terminateApplication.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/terminateApplication.ts)_
|
|
|
|
|
|
-## `joystream-cli working-groups:updateRewardAccount [ACCOUNTADDRESS]`
|
|
|
|
|
|
+## `joystream-cli working-groups:updateRewardAccount [ADDRESS]`
|
|
|
|
|
|
Updates the worker/lead reward account (requires current role account to be selected)
|
|
Updates the worker/lead reward account (requires current role account to be selected)
|
|
|
|
|
|
```
|
|
```
|
|
USAGE
|
|
USAGE
|
|
- $ joystream-cli working-groups:updateRewardAccount [ACCOUNTADDRESS]
|
|
|
|
|
|
+ $ joystream-cli working-groups:updateRewardAccount [ADDRESS]
|
|
|
|
|
|
ARGUMENTS
|
|
ARGUMENTS
|
|
- ACCOUNTADDRESS New reward account address (if omitted, one of the existing CLI accounts can be selected)
|
|
|
|
|
|
+ ADDRESS New reward account address (if omitted, can be provided interactivel)
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/updateRewardAccount.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateRewardAccount.ts)_
|
|
_See code: [src/commands/working-groups/updateRewardAccount.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateRewardAccount.ts)_
|
|
|
|
|
|
-## `joystream-cli working-groups:updateRoleAccount [ACCOUNTADDRESS]`
|
|
|
|
|
|
+## `joystream-cli working-groups:updateRoleAccount [ADDRESS]`
|
|
|
|
|
|
Updates the worker/lead role account. Requires member controller account to be selected
|
|
Updates the worker/lead role account. Requires member controller account to be selected
|
|
|
|
|
|
```
|
|
```
|
|
USAGE
|
|
USAGE
|
|
- $ joystream-cli working-groups:updateRoleAccount [ACCOUNTADDRESS]
|
|
|
|
|
|
+ $ joystream-cli working-groups:updateRoleAccount [ADDRESS]
|
|
|
|
|
|
ARGUMENTS
|
|
ARGUMENTS
|
|
- ACCOUNTADDRESS New role account address (if omitted, one of the existing CLI accounts can be selected)
|
|
|
|
|
|
+ ADDRESS New role account address (if omitted, can be provided interactively)
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/updateRoleAccount.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateRoleAccount.ts)_
|
|
_See code: [src/commands/working-groups/updateRoleAccount.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateRoleAccount.ts)_
|
|
@@ -1022,8 +1147,10 @@ ARGUMENTS
|
|
STORAGE Worker storage
|
|
STORAGE Worker storage
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/updateRoleStorage.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateRoleStorage.ts)_
|
|
_See code: [src/commands/working-groups/updateRoleStorage.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateRoleStorage.ts)_
|
|
@@ -1040,15 +1167,11 @@ ARGUMENTS
|
|
WORKERID Worker ID
|
|
WORKERID Worker ID
|
|
|
|
|
|
OPTIONS
|
|
OPTIONS
|
|
- -g, --group=(storageProviders|curators|operations) The working group context in which the command should be executed
|
|
|
|
- Available values are: storageProviders, curators, operations.
|
|
|
|
|
|
+ -g, --group=(storageProviders|curators|operationsAlpha|operationsBeta|operationsGamma|gateway|distributors)
|
|
|
|
+ The working group context in which the command should be executed
|
|
|
|
+ Available values are: storageProviders, curators, operationsAlpha, operationsBeta, operationsGamma, gateway,
|
|
|
|
+ distributors.
|
|
```
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/updateWorkerReward.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateWorkerReward.ts)_
|
|
_See code: [src/commands/working-groups/updateWorkerReward.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateWorkerReward.ts)_
|
|
<!-- commandsstop -->
|
|
<!-- commandsstop -->
|
|
-
|
|
|
|
-# Environment variables
|
|
|
|
-<!-- env -->
|
|
|
|
-- `FORCE_COLOR` - can be set to `0` to disable output coloring
|
|
|
|
-- `AUTO_CONFIRM` - can be set to `1` or `true` to skip any required confirmations (can be useful for creating bash scripts)
|
|
|
|
-<!-- envstop -->
|
|
|