|
@@ -23,7 +23,7 @@ $ npm install -g @joystream/cli
|
|
|
$ joystream-cli COMMAND
|
|
|
running command...
|
|
|
$ joystream-cli (-v|--version|version)
|
|
|
-@joystream/cli/0.6.0 linux-x64 node-v14.18.0
|
|
|
+@joystream/cli/0.7.0 linux-x64 node-v14.18.0
|
|
|
$ joystream-cli --help [COMMAND]
|
|
|
USAGE
|
|
|
$ joystream-cli COMMAND
|
|
@@ -111,6 +111,20 @@ When using the CLI for the first time there are a few common steps you might wan
|
|
|
* [`joystream-cli content:updateVideoCensorshipStatus ID [STATUS]`](#joystream-cli-contentupdatevideocensorshipstatus-id-status)
|
|
|
* [`joystream-cli content:video VIDEOID`](#joystream-cli-contentvideo-videoid)
|
|
|
* [`joystream-cli content:videos [CHANNELID]`](#joystream-cli-contentvideos-channelid)
|
|
|
+* [`joystream-cli forum:addPost`](#joystream-cli-forumaddpost)
|
|
|
+* [`joystream-cli forum:categories`](#joystream-cli-forumcategories)
|
|
|
+* [`joystream-cli forum:category`](#joystream-cli-forumcategory)
|
|
|
+* [`joystream-cli forum:createCategory`](#joystream-cli-forumcreatecategory)
|
|
|
+* [`joystream-cli forum:createThread`](#joystream-cli-forumcreatethread)
|
|
|
+* [`joystream-cli forum:deleteCategory`](#joystream-cli-forumdeletecategory)
|
|
|
+* [`joystream-cli forum:moderatePost`](#joystream-cli-forummoderatepost)
|
|
|
+* [`joystream-cli forum:moderateThread`](#joystream-cli-forummoderatethread)
|
|
|
+* [`joystream-cli forum:moveThread`](#joystream-cli-forummovethread)
|
|
|
+* [`joystream-cli forum:posts`](#joystream-cli-forumposts)
|
|
|
+* [`joystream-cli forum:setStickiedThreads`](#joystream-cli-forumsetstickiedthreads)
|
|
|
+* [`joystream-cli forum:threads`](#joystream-cli-forumthreads)
|
|
|
+* [`joystream-cli forum:updateCategoryArchivalStatus`](#joystream-cli-forumupdatecategoryarchivalstatus)
|
|
|
+* [`joystream-cli forum:updateCategoryModeratorStatus`](#joystream-cli-forumupdatecategorymoderatorstatus)
|
|
|
* [`joystream-cli help [COMMAND]`](#joystream-cli-help-command)
|
|
|
* [`joystream-cli membership:addStakingAccount`](#joystream-cli-membershipaddstakingaccount)
|
|
|
* [`joystream-cli membership:buy`](#joystream-cli-membershipbuy)
|
|
@@ -118,19 +132,21 @@ When using the CLI for the first time there are a few common steps you might wan
|
|
|
* [`joystream-cli membership:update`](#joystream-cli-membershipupdate)
|
|
|
* [`joystream-cli membership:updateAccounts`](#joystream-cli-membershipupdateaccounts)
|
|
|
* [`joystream-cli working-groups:application WGAPPLICATIONID`](#joystream-cli-working-groupsapplication-wgapplicationid)
|
|
|
-* [`joystream-cli working-groups:apply [OPENINGID]`](#joystream-cli-working-groupsapply-openingid)
|
|
|
+* [`joystream-cli working-groups:apply`](#joystream-cli-working-groupsapply)
|
|
|
* [`joystream-cli working-groups:cancelOpening OPENINGID`](#joystream-cli-working-groupscancelopening-openingid)
|
|
|
* [`joystream-cli working-groups:createOpening`](#joystream-cli-working-groupscreateopening)
|
|
|
* [`joystream-cli working-groups:decreaseWorkerStake WORKERID AMOUNT`](#joystream-cli-working-groupsdecreaseworkerstake-workerid-amount)
|
|
|
* [`joystream-cli working-groups:evictWorker WORKERID`](#joystream-cli-working-groupsevictworker-workerid)
|
|
|
-* [`joystream-cli working-groups:fillOpening WGOPENINGID`](#joystream-cli-working-groupsfillopening-wgopeningid)
|
|
|
+* [`joystream-cli working-groups:fillOpening`](#joystream-cli-working-groupsfillopening)
|
|
|
* [`joystream-cli working-groups:increaseStake AMOUNT`](#joystream-cli-working-groupsincreasestake-amount)
|
|
|
* [`joystream-cli working-groups:leaveRole`](#joystream-cli-working-groupsleaverole)
|
|
|
-* [`joystream-cli working-groups:opening WGOPENINGID`](#joystream-cli-working-groupsopening-wgopeningid)
|
|
|
+* [`joystream-cli working-groups:opening`](#joystream-cli-working-groupsopening)
|
|
|
* [`joystream-cli working-groups:openings`](#joystream-cli-working-groupsopenings)
|
|
|
* [`joystream-cli working-groups:overview`](#joystream-cli-working-groupsoverview)
|
|
|
+* [`joystream-cli working-groups:removeUpcomingOpening`](#joystream-cli-working-groupsremoveupcomingopening)
|
|
|
* [`joystream-cli working-groups:setDefaultGroup`](#joystream-cli-working-groupssetdefaultgroup)
|
|
|
* [`joystream-cli working-groups:slashWorker WORKERID AMOUNT`](#joystream-cli-working-groupsslashworker-workerid-amount)
|
|
|
+* [`joystream-cli working-groups:updateGroupMetadata`](#joystream-cli-working-groupsupdategroupmetadata)
|
|
|
* [`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)
|
|
@@ -284,15 +300,15 @@ OPTIONS
|
|
|
If no "--method" flag is provided then all methods in that module will be listed along with the descriptions.
|
|
|
|
|
|
-a, --callArgs=callArgs
|
|
|
- Specifies the arguments to use when calling a method. Multiple arguments can be separated with a comma, ie.
|
|
|
+ Specifies the arguments to use when calling a method. Multiple arguments can be separated with a comma, ie.
|
|
|
"-a=arg1,arg2".
|
|
|
You can omit this flag even if the method requires some aguments.
|
|
|
In that case you will be promted to provide value for each required argument.
|
|
|
- Ommiting this flag is recommended when input parameters are of more complex types (and it's hard to specify them as
|
|
|
+ Ommiting this flag is recommended when input parameters are of more complex types (and it's hard to specify them as
|
|
|
just simple comma-separated strings)
|
|
|
|
|
|
-e, --exec
|
|
|
- Provide this flag if you want to execute the actual call, instead of displaying the method description (which is
|
|
|
+ Provide this flag if you want to execute the actual call, instead of displaying the method description (which is
|
|
|
default)
|
|
|
|
|
|
-m, --method=method
|
|
@@ -876,6 +892,256 @@ OPTIONS
|
|
|
|
|
|
_See code: [src/commands/content/videos.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content/videos.ts)_
|
|
|
|
|
|
+## `joystream-cli forum:addPost`
|
|
|
+
|
|
|
+Add forum post.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:addPost
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ --categoryId=categoryId (required) Id of the forum category of the parent thread
|
|
|
+ --editable Whether the post should be editable
|
|
|
+ --text=text (required) Post content (md-formatted text)
|
|
|
+ --threadId=threadId (required) Post's parent thread
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/addPost.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/addPost.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:categories`
|
|
|
+
|
|
|
+List existing forum categories by parent id (root categories by default) or displays a category tree.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:categories
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --tree Display a category tree (with parentCategoryId as root, if specified)
|
|
|
+ -p, --parentCategoryId=parentCategoryId Parent category id (only child categories will be listed)
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/categories.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/categories.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:category`
|
|
|
+
|
|
|
+Display forum category details.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:category
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --categoryId=categoryId (required) Forum category id
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/category.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/category.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:createCategory`
|
|
|
+
|
|
|
+Create forum category.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:createCategory
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -d, --description=description (required) Category description
|
|
|
+ -p, --parentCategoryId=parentCategoryId Parent category id (in case of creating a subcategory)
|
|
|
+ -t, --title=title (required) Category title
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/createCategory.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/createCategory.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:createThread`
|
|
|
+
|
|
|
+Create forum thread.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:createThread
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ --categoryId=categoryId (required) Id of the forum category the thread should be created in
|
|
|
+ --tags=tags Space-separated tags to associate with the thread
|
|
|
+ --text=text (required) Initial post text
|
|
|
+ --title=title (required) Thread title
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/createThread.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/createThread.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:deleteCategory`
|
|
|
+
|
|
|
+Delete forum category provided it has no existing subcategories and threads.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:deleteCategory
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --categoryId=categoryId (required) Id of the category to delete
|
|
|
+ --context=(Leader|Moderator) Actor context to execute the command in (Leader/Moderator)
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/deleteCategory.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/deleteCategory.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:moderatePost`
|
|
|
+
|
|
|
+Moderate a forum post and slash the associated stake.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:moderatePost
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --categoryId=categoryId (required) Forum category id
|
|
|
+ -p, --postId=postId (required) Forum post id
|
|
|
+ -r, --rationale=rationale (required) Rationale behind the post moderation.
|
|
|
+ -t, --threadId=threadId (required) Forum thread id
|
|
|
+ --context=(Leader|Moderator) Actor context to execute the command in (Leader/Moderator)
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/moderatePost.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/moderatePost.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:moderateThread`
|
|
|
+
|
|
|
+Moderate a forum thread and slash the associated stake.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:moderateThread
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --categoryId=categoryId (required) Id of the forum category the thread is currently in
|
|
|
+ -r, --rationale=rationale (required) Rationale behind the thread moderation.
|
|
|
+ -t, --threadId=threadId (required) Forum thread id
|
|
|
+ --context=(Leader|Moderator) Actor context to execute the command in (Leader/Moderator)
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/moderateThread.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/moderateThread.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:moveThread`
|
|
|
+
|
|
|
+Move forum thread to a different category.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:moveThread
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --categoryId=categoryId (required) Thread's current category id
|
|
|
+ -n, --newCategoryId=newCategoryId (required) Thread's new category id
|
|
|
+ -t, --threadId=threadId (required) Forum thread id
|
|
|
+ --context=(Leader|Moderator) Actor context to execute the command in (Leader/Moderator)
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/moveThread.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/moveThread.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:posts`
|
|
|
+
|
|
|
+List existing forum posts in given thread.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:posts
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -t, --threadId=threadId (required) Thread id (only posts in this thread will be listed)
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/posts.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/posts.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:setStickiedThreads`
|
|
|
+
|
|
|
+Set stickied threads in a given category.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:setStickiedThreads
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ --categoryId=categoryId (required) Forum category id
|
|
|
+ --context=(Leader|Moderator) Actor context to execute the command in (Leader/Moderator)
|
|
|
+ --threadIds=threadIds Space-separated thread ids
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/setStickiedThreads.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/setStickiedThreads.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:threads`
|
|
|
+
|
|
|
+List existing forum threads in given category.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:threads
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --categoryId=categoryId (required) Category id (only threads in this category will be listed)
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/threads.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/threads.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:updateCategoryArchivalStatus`
|
|
|
+
|
|
|
+Update archival status of a forum category.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:updateCategoryArchivalStatus
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --categoryId=categoryId (required) Forum category id
|
|
|
+ --archived=(yes|no) (required) Whether the category should be archived
|
|
|
+ --context=(Leader|Moderator) Actor context to execute the command in (Leader/Moderator)
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/updateCategoryArchivalStatus.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/updateCategoryArchivalStatus.ts)_
|
|
|
+
|
|
|
+## `joystream-cli forum:updateCategoryModeratorStatus`
|
|
|
+
|
|
|
+Update moderator status of a worker in relation to a category.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli forum:updateCategoryModeratorStatus
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --categoryId=categoryId (required) Forum category id
|
|
|
+ -w, --workerId=workerId (required) Forum working group worker id
|
|
|
+ --status=(active|disabled) (required) Status of the moderator membership in the category
|
|
|
+ --useMemberId=useMemberId Try using the specified member id as context whenever possible
|
|
|
+ --useWorkerId=useWorkerId Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/forum/updateCategoryModeratorStatus.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/forum/updateCategoryModeratorStatus.ts)_
|
|
|
+
|
|
|
## `joystream-cli help [COMMAND]`
|
|
|
|
|
|
display help for joystream-cli
|
|
@@ -1019,16 +1285,13 @@ OPTIONS
|
|
|
|
|
|
_See code: [src/commands/working-groups/application.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/application.ts)_
|
|
|
|
|
|
-## `joystream-cli working-groups:apply [OPENINGID]`
|
|
|
+## `joystream-cli working-groups:apply`
|
|
|
|
|
|
Apply to a working group opening (requires a membership)
|
|
|
|
|
|
```
|
|
|
USAGE
|
|
|
- $ joystream-cli working-groups:apply [OPENINGID]
|
|
|
-
|
|
|
-ARGUMENTS
|
|
|
- OPENINGID Opening ID
|
|
|
+ $ joystream-cli working-groups:apply
|
|
|
|
|
|
OPTIONS
|
|
|
-g,
|
|
@@ -1038,6 +1301,21 @@ OPTIONS
|
|
|
Available values are: storageProviders, curators, forum, membership, gateway, operationsAlpha, operationsBeta,
|
|
|
operationsGamma, distributors.
|
|
|
|
|
|
+ --answers=answers
|
|
|
+ Answers for opening's application form questions (sorted by question index)
|
|
|
+
|
|
|
+ --openingId=openingId
|
|
|
+ (required) Opening ID
|
|
|
+
|
|
|
+ --rewardAccount=rewardAccount
|
|
|
+ Future worker reward account
|
|
|
+
|
|
|
+ --roleAccount=roleAccount
|
|
|
+ Future worker role account
|
|
|
+
|
|
|
+ --stakingAccount=stakingAccount
|
|
|
+ Account to hold applicant's / worker's stake
|
|
|
+
|
|
|
--useMemberId=useMemberId
|
|
|
Try using the specified member id as context whenever possible
|
|
|
|
|
@@ -1077,7 +1355,7 @@ _See code: [src/commands/working-groups/cancelOpening.ts](https://github.com/Joy
|
|
|
|
|
|
## `joystream-cli working-groups:createOpening`
|
|
|
|
|
|
-Create working group opening (requires lead access)
|
|
|
+Create working group opening / upcoming opening (requires lead access)
|
|
|
|
|
|
```
|
|
|
USAGE
|
|
@@ -1104,6 +1382,15 @@ OPTIONS
|
|
|
If provided along with --output - skips sending the actual extrinsic(can be used to generate a "draft" which can be
|
|
|
provided as input later)
|
|
|
|
|
|
+ --stakeTopUpSource=stakeTopUpSource
|
|
|
+ If provided - this account (key) will be used as default funds source for lead stake top up (in case it's needed)
|
|
|
+
|
|
|
+ --startsAt=startsAt
|
|
|
+ If upcoming opening - the expected opening start date (YYYY-MM-DD HH:mm:ss)
|
|
|
+
|
|
|
+ --upcoming
|
|
|
+ Whether the opening should be an upcoming opening
|
|
|
+
|
|
|
--useMemberId=useMemberId
|
|
|
Try using the specified member id as context whenever possible
|
|
|
|
|
@@ -1176,16 +1463,13 @@ OPTIONS
|
|
|
|
|
|
_See code: [src/commands/working-groups/evictWorker.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/evictWorker.ts)_
|
|
|
|
|
|
-## `joystream-cli working-groups:fillOpening WGOPENINGID`
|
|
|
+## `joystream-cli working-groups:fillOpening`
|
|
|
|
|
|
Allows filling working group opening that's currently in review. Requires lead access.
|
|
|
|
|
|
```
|
|
|
USAGE
|
|
|
- $ joystream-cli working-groups:fillOpening WGOPENINGID
|
|
|
-
|
|
|
-ARGUMENTS
|
|
|
- WGOPENINGID Working Group Opening ID
|
|
|
+ $ joystream-cli working-groups:fillOpening
|
|
|
|
|
|
OPTIONS
|
|
|
-g,
|
|
@@ -1195,6 +1479,12 @@ OPTIONS
|
|
|
Available values are: storageProviders, curators, forum, membership, gateway, operationsAlpha, operationsBeta,
|
|
|
operationsGamma, distributors.
|
|
|
|
|
|
+ --applicationIds=applicationIds
|
|
|
+ Accepted application ids
|
|
|
+
|
|
|
+ --openingId=openingId
|
|
|
+ (required) Working Group Opening ID
|
|
|
+
|
|
|
--useMemberId=useMemberId
|
|
|
Try using the specified member id as context whenever possible
|
|
|
|
|
@@ -1259,16 +1549,13 @@ OPTIONS
|
|
|
|
|
|
_See code: [src/commands/working-groups/leaveRole.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/leaveRole.ts)_
|
|
|
|
|
|
-## `joystream-cli working-groups:opening WGOPENINGID`
|
|
|
+## `joystream-cli working-groups:opening`
|
|
|
|
|
|
-Shows an overview of given working group opening by Working Group Opening ID
|
|
|
+Shows detailed information about working group opening / upcoming opening by id
|
|
|
|
|
|
```
|
|
|
USAGE
|
|
|
- $ joystream-cli working-groups:opening WGOPENINGID
|
|
|
-
|
|
|
-ARGUMENTS
|
|
|
- WGOPENINGID Working Group Opening ID
|
|
|
+ $ joystream-cli working-groups:opening
|
|
|
|
|
|
OPTIONS
|
|
|
-g,
|
|
@@ -1278,6 +1565,12 @@ OPTIONS
|
|
|
Available values are: storageProviders, curators, forum, membership, gateway, operationsAlpha, operationsBeta,
|
|
|
operationsGamma, distributors.
|
|
|
|
|
|
+ --id=id
|
|
|
+ (required) Opening / upcoming opening id (depending on --upcoming flag)
|
|
|
+
|
|
|
+ --upcoming
|
|
|
+ Whether the opening is an upcoming opening
|
|
|
+
|
|
|
--useMemberId=useMemberId
|
|
|
Try using the specified member id as context whenever possible
|
|
|
|
|
@@ -1289,7 +1582,7 @@ _See code: [src/commands/working-groups/opening.ts](https://github.com/Joystream
|
|
|
|
|
|
## `joystream-cli working-groups:openings`
|
|
|
|
|
|
-Shows an overview of given working group openings
|
|
|
+Lists active/upcoming openings in a given working group
|
|
|
|
|
|
```
|
|
|
USAGE
|
|
@@ -1303,6 +1596,9 @@ OPTIONS
|
|
|
Available values are: storageProviders, curators, forum, membership, gateway, operationsAlpha, operationsBeta,
|
|
|
operationsGamma, distributors.
|
|
|
|
|
|
+ --upcoming
|
|
|
+ List upcoming openings (active openings are listed by default)
|
|
|
+
|
|
|
--useMemberId=useMemberId
|
|
|
Try using the specified member id as context whenever possible
|
|
|
|
|
@@ -1337,6 +1633,34 @@ OPTIONS
|
|
|
|
|
|
_See code: [src/commands/working-groups/overview.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/overview.ts)_
|
|
|
|
|
|
+## `joystream-cli working-groups:removeUpcomingOpening`
|
|
|
+
|
|
|
+Remove an existing upcoming opening by sending RemoveUpcomingOpening metadata signal (requires lead access)
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli working-groups:removeUpcomingOpening
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -g,
|
|
|
+ --group=(storageProviders|curators|forum|membership|gateway|operationsAlpha|operationsBeta|operationsGamma|distributor
|
|
|
+ s)
|
|
|
+ The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators, forum, membership, gateway, operationsAlpha, operationsBeta,
|
|
|
+ operationsGamma, distributors.
|
|
|
+
|
|
|
+ -i, --id=id
|
|
|
+ (required) Id of the upcoming opening to remove
|
|
|
+
|
|
|
+ --useMemberId=useMemberId
|
|
|
+ Try using the specified member id as context whenever possible
|
|
|
+
|
|
|
+ --useWorkerId=useWorkerId
|
|
|
+ Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/working-groups/removeUpcomingOpening.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/removeUpcomingOpening.ts)_
|
|
|
+
|
|
|
## `joystream-cli working-groups:setDefaultGroup`
|
|
|
|
|
|
Change the default group context for working-groups commands.
|
|
@@ -1393,6 +1717,34 @@ OPTIONS
|
|
|
|
|
|
_See code: [src/commands/working-groups/slashWorker.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/slashWorker.ts)_
|
|
|
|
|
|
+## `joystream-cli working-groups:updateGroupMetadata`
|
|
|
+
|
|
|
+Update working group metadata (description, status etc.). The update will be atomic (just like video / channel metadata updates)
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli working-groups:updateGroupMetadata
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -g,
|
|
|
+ --group=(storageProviders|curators|forum|membership|gateway|operationsAlpha|operationsBeta|operationsGamma|distributor
|
|
|
+ s)
|
|
|
+ The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators, forum, membership, gateway, operationsAlpha, operationsBeta,
|
|
|
+ operationsGamma, distributors.
|
|
|
+
|
|
|
+ -i, --input=input
|
|
|
+ (required) Path to JSON file to use as input
|
|
|
+
|
|
|
+ --useMemberId=useMemberId
|
|
|
+ Try using the specified member id as context whenever possible
|
|
|
+
|
|
|
+ --useWorkerId=useWorkerId
|
|
|
+ Try using the specified worker id as context whenever possible
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/working-groups/updateGroupMetadata.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateGroupMetadata.ts)_
|
|
|
+
|
|
|
## `joystream-cli working-groups:updateRewardAccount [ADDRESS]`
|
|
|
|
|
|
Updates the worker/lead reward account (requires current role account to be selected)
|
|
@@ -1506,9 +1858,3 @@ OPTIONS
|
|
|
|
|
|
_See code: [src/commands/working-groups/updateWorkerReward.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateWorkerReward.ts)_
|
|
|
<!-- 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 -->
|