|
@@ -44,7 +44,7 @@ $ npm install -g @joystream/cli
|
|
|
$ joystream-cli COMMAND
|
|
|
running command...
|
|
|
$ joystream-cli (-v|--version|version)
|
|
|
-@joystream/cli/0.1.0 linux-x64 node-v13.12.0
|
|
|
+@joystream/cli/0.2.0 linux-x64 node-v13.12.0
|
|
|
$ joystream-cli --help [COMMAND]
|
|
|
USAGE
|
|
|
$ joystream-cli COMMAND
|
|
@@ -76,8 +76,38 @@ When using the CLI for the first time there are a few common steps you might wan
|
|
|
* [`joystream-cli api:inspect`](#joystream-cli-apiinspect)
|
|
|
* [`joystream-cli api:setUri [URI]`](#joystream-cli-apiseturi-uri)
|
|
|
* [`joystream-cli autocomplete [SHELL]`](#joystream-cli-autocomplete-shell)
|
|
|
+* [`joystream-cli content-directory:addClassSchema`](#joystream-cli-content-directoryaddclassschema)
|
|
|
+* [`joystream-cli content-directory:addCuratorToGroup [GROUPID] [CURATORID]`](#joystream-cli-content-directoryaddcuratortogroup-groupid-curatorid)
|
|
|
+* [`joystream-cli content-directory:addMaintainerToClass [CLASSNAME] [GROUPID]`](#joystream-cli-content-directoryaddmaintainertoclass-classname-groupid)
|
|
|
+* [`joystream-cli content-directory:class CLASSNAME`](#joystream-cli-content-directoryclass-classname)
|
|
|
+* [`joystream-cli content-directory:classes`](#joystream-cli-content-directoryclasses)
|
|
|
+* [`joystream-cli content-directory:createClass`](#joystream-cli-content-directorycreateclass)
|
|
|
+* [`joystream-cli content-directory:createCuratorGroup`](#joystream-cli-content-directorycreatecuratorgroup)
|
|
|
+* [`joystream-cli content-directory:curatorGroup ID`](#joystream-cli-content-directorycuratorgroup-id)
|
|
|
+* [`joystream-cli content-directory:curatorGroups`](#joystream-cli-content-directorycuratorgroups)
|
|
|
+* [`joystream-cli content-directory:entities CLASSNAME [PROPERTIES]`](#joystream-cli-content-directoryentities-classname-properties)
|
|
|
+* [`joystream-cli content-directory:entity ID`](#joystream-cli-content-directoryentity-id)
|
|
|
+* [`joystream-cli content-directory:initialize`](#joystream-cli-content-directoryinitialize)
|
|
|
+* [`joystream-cli content-directory:removeCuratorFromGroup [GROUPID] [CURATORID]`](#joystream-cli-content-directoryremovecuratorfromgroup-groupid-curatorid)
|
|
|
+* [`joystream-cli content-directory:removeCuratorGroup [ID]`](#joystream-cli-content-directoryremovecuratorgroup-id)
|
|
|
+* [`joystream-cli content-directory:removeEntity ID`](#joystream-cli-content-directoryremoveentity-id)
|
|
|
+* [`joystream-cli content-directory:removeMaintainerFromClass [CLASSNAME] [GROUPID]`](#joystream-cli-content-directoryremovemaintainerfromclass-classname-groupid)
|
|
|
+* [`joystream-cli content-directory:setCuratorGroupStatus [ID] [STATUS]`](#joystream-cli-content-directorysetcuratorgroupstatus-id-status)
|
|
|
+* [`joystream-cli content-directory:updateClassPermissions [CLASSNAME]`](#joystream-cli-content-directoryupdateclasspermissions-classname)
|
|
|
* [`joystream-cli council:info`](#joystream-cli-councilinfo)
|
|
|
* [`joystream-cli help [COMMAND]`](#joystream-cli-help-command)
|
|
|
+* [`joystream-cli media:createChannel`](#joystream-cli-mediacreatechannel)
|
|
|
+* [`joystream-cli media:curateContent`](#joystream-cli-mediacuratecontent)
|
|
|
+* [`joystream-cli media:featuredVideos`](#joystream-cli-mediafeaturedvideos)
|
|
|
+* [`joystream-cli media:myChannels`](#joystream-cli-mediamychannels)
|
|
|
+* [`joystream-cli media:myVideos`](#joystream-cli-mediamyvideos)
|
|
|
+* [`joystream-cli media:removeChannel [ID]`](#joystream-cli-mediaremovechannel-id)
|
|
|
+* [`joystream-cli media:removeVideo [ID]`](#joystream-cli-mediaremovevideo-id)
|
|
|
+* [`joystream-cli media:setFeaturedVideos VIDEOIDS`](#joystream-cli-mediasetfeaturedvideos-videoids)
|
|
|
+* [`joystream-cli media:updateChannel [ID]`](#joystream-cli-mediaupdatechannel-id)
|
|
|
+* [`joystream-cli media:updateVideo [ID]`](#joystream-cli-mediaupdatevideo-id)
|
|
|
+* [`joystream-cli media:updateVideoLicense [ID]`](#joystream-cli-mediaupdatevideolicense-id)
|
|
|
+* [`joystream-cli media:uploadVideo FILEPATH`](#joystream-cli-mediauploadvideo-filepath)
|
|
|
* [`joystream-cli working-groups:application WGAPPLICATIONID`](#joystream-cli-working-groupsapplication-wgapplicationid)
|
|
|
* [`joystream-cli working-groups:createOpening`](#joystream-cli-working-groupscreateopening)
|
|
|
* [`joystream-cli working-groups:decreaseWorkerStake WORKERID`](#joystream-cli-working-groupsdecreaseworkerstake-workerid)
|
|
@@ -88,6 +118,7 @@ When using the CLI for the first time there are a few common steps you might wan
|
|
|
* [`joystream-cli working-groups:opening WGOPENINGID`](#joystream-cli-working-groupsopening-wgopeningid)
|
|
|
* [`joystream-cli working-groups:openings`](#joystream-cli-working-groupsopenings)
|
|
|
* [`joystream-cli working-groups:overview`](#joystream-cli-working-groupsoverview)
|
|
|
+* [`joystream-cli working-groups:setDefaultGroup`](#joystream-cli-working-groupssetdefaultgroup)
|
|
|
* [`joystream-cli working-groups:slashWorker WORKERID`](#joystream-cli-working-groupsslashworker-workerid)
|
|
|
* [`joystream-cli working-groups:startAcceptingApplications WGOPENINGID`](#joystream-cli-working-groupsstartacceptingapplications-wgopeningid)
|
|
|
* [`joystream-cli working-groups:startReviewPeriod WGOPENINGID`](#joystream-cli-working-groupsstartreviewperiod-wgopeningid)
|
|
@@ -288,6 +319,274 @@ EXAMPLES
|
|
|
|
|
|
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v0.2.0/src/commands/autocomplete/index.ts)_
|
|
|
|
|
|
+## `joystream-cli content-directory:addClassSchema`
|
|
|
+
|
|
|
+Add a new schema to a class inside content directory. Requires lead access.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:addClassSchema
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -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 directory where the output JSON file should be placed (the output file can be then
|
|
|
+ reused as input)
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/addClassSchema.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/addClassSchema.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:addCuratorToGroup [GROUPID] [CURATORID]`
|
|
|
+
|
|
|
+Add Curator to existing Curator Group.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:addCuratorToGroup [GROUPID] [CURATORID]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ GROUPID ID of the Curator Group
|
|
|
+ CURATORID ID of the curator
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/addCuratorToGroup.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/addCuratorToGroup.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:addMaintainerToClass [CLASSNAME] [GROUPID]`
|
|
|
+
|
|
|
+Add maintainer (Curator Group) to a class.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:addMaintainerToClass [CLASSNAME] [GROUPID]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ CLASSNAME Name or ID of the class (ie. Video)
|
|
|
+ GROUPID ID of the Curator Group to add as class maintainer
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/addMaintainerToClass.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/addMaintainerToClass.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:class CLASSNAME`
|
|
|
+
|
|
|
+Show Class details by id or name.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:class CLASSNAME
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ CLASSNAME Name or ID of the Class
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/class.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/class.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:classes`
|
|
|
+
|
|
|
+List existing content directory classes.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:classes
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/classes.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/classes.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:createClass`
|
|
|
+
|
|
|
+Create class inside content directory. Requires lead access.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:createClass
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -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 directory where the output JSON file should be placed (the output file can be then
|
|
|
+ reused as input)
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/createClass.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/createClass.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:createCuratorGroup`
|
|
|
+
|
|
|
+Create new Curator Group.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:createCuratorGroup
|
|
|
+
|
|
|
+ALIASES
|
|
|
+ $ joystream-cli addCuratorGroup
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/createCuratorGroup.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/createCuratorGroup.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:curatorGroup ID`
|
|
|
+
|
|
|
+Show Curator Group details by ID.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:curatorGroup ID
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ ID ID of the Curator Group
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/curatorGroup.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/curatorGroup.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:curatorGroups`
|
|
|
+
|
|
|
+List existing Curator Groups.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:curatorGroups
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/curatorGroups.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/curatorGroups.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:entities CLASSNAME [PROPERTIES]`
|
|
|
+
|
|
|
+Show entities list by class id or name.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:entities CLASSNAME [PROPERTIES]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ CLASSNAME Name or ID of the Class
|
|
|
+
|
|
|
+ PROPERTIES Comma-separated properties to include in the results table (ie. code,name). By default all property values
|
|
|
+ will be included.
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ --filters=filters Comma-separated filters, ie. title="Some video",channelId=3.Currently only the = operator is
|
|
|
+ supported.When multiple filters are provided, only the entities that match all of them together
|
|
|
+ will be displayed.
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/entities.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/entities.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:entity ID`
|
|
|
+
|
|
|
+Show Entity details by id.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:entity ID
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ ID ID of the Entity
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/entity.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/entity.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:initialize`
|
|
|
+
|
|
|
+Initialize content directory with input data from @joystream/content library or custom, provided one. Requires lead access.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:initialize
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ --rootInputsDir=rootInputsDir Custom inputs directory (must follow @joystream/content directory structure)
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/initialize.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/initialize.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:removeCuratorFromGroup [GROUPID] [CURATORID]`
|
|
|
+
|
|
|
+Remove Curator from Curator Group.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:removeCuratorFromGroup [GROUPID] [CURATORID]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ GROUPID ID of the Curator Group
|
|
|
+ CURATORID ID of the curator
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/removeCuratorFromGroup.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/removeCuratorFromGroup.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:removeCuratorGroup [ID]`
|
|
|
+
|
|
|
+Remove existing Curator Group.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:removeCuratorGroup [ID]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ ID ID of the Curator Group to remove
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/removeCuratorGroup.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/removeCuratorGroup.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:removeEntity ID`
|
|
|
+
|
|
|
+Removes a single entity by id (can be executed in Member, Curator or Lead context)
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:removeEntity ID
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ ID ID of the entity to remove
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ --context=(Member|Curator|Lead) Actor context to execute the command in (Member/Curator/Lead)
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/removeEntity.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/removeEntity.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:removeMaintainerFromClass [CLASSNAME] [GROUPID]`
|
|
|
+
|
|
|
+Remove maintainer (Curator Group) from class.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:removeMaintainerFromClass [CLASSNAME] [GROUPID]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ CLASSNAME Name or ID of the class (ie. Video)
|
|
|
+ GROUPID ID of the Curator Group to remove from maintainers
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/removeMaintainerFromClass.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/removeMaintainerFromClass.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:setCuratorGroupStatus [ID] [STATUS]`
|
|
|
+
|
|
|
+Set Curator Group status (Active/Inactive).
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:setCuratorGroupStatus [ID] [STATUS]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ ID ID of the Curator Group
|
|
|
+ STATUS New status of the group (1 - active, 0 - inactive)
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/setCuratorGroupStatus.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/setCuratorGroupStatus.ts)_
|
|
|
+
|
|
|
+## `joystream-cli content-directory:updateClassPermissions [CLASSNAME]`
|
|
|
+
|
|
|
+Update permissions in given class.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli content-directory:updateClassPermissions [CLASSNAME]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ CLASSNAME Name or ID of the class (ie. Video)
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/content-directory/updateClassPermissions.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/content-directory/updateClassPermissions.ts)_
|
|
|
+
|
|
|
## `joystream-cli council:info`
|
|
|
|
|
|
Get current council and council elections information
|
|
@@ -316,6 +615,191 @@ OPTIONS
|
|
|
|
|
|
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.3/src/commands/help.ts)_
|
|
|
|
|
|
+## `joystream-cli media:createChannel`
|
|
|
+
|
|
|
+Create a new channel on Joystream (requires a membership).
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:createChannel
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -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 directory where the output JSON file should be placed (the output file can be then
|
|
|
+ reused as input)
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/createChannel.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/createChannel.ts)_
|
|
|
+
|
|
|
+## `joystream-cli media:curateContent`
|
|
|
+
|
|
|
+Set the curation status of given entity (Channel/Video). Requires Curator access.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:curateContent
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --className=(Channel|Video) (required) Name of the class of the entity to curate (Channel/Video)
|
|
|
+ -s, --status=(Accepted|Censored) (required) Specifies the curation status (Accepted/Censored)
|
|
|
+ --id=id (required) ID of the entity to curate
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/curateContent.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/curateContent.ts)_
|
|
|
+
|
|
|
+## `joystream-cli media:featuredVideos`
|
|
|
+
|
|
|
+Show a list of currently featured videos.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:featuredVideos
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/featuredVideos.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/featuredVideos.ts)_
|
|
|
+
|
|
|
+## `joystream-cli media:myChannels`
|
|
|
+
|
|
|
+Show the list of channels associated with current account's membership.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:myChannels
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/myChannels.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/myChannels.ts)_
|
|
|
+
|
|
|
+## `joystream-cli media:myVideos`
|
|
|
+
|
|
|
+Show the list of videos associated with current account's membership.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:myVideos
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --channel=channel Channel id to filter the videos by
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/myVideos.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/myVideos.ts)_
|
|
|
+
|
|
|
+## `joystream-cli media:removeChannel [ID]`
|
|
|
+
|
|
|
+Removes a channel (required controller access).
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:removeChannel [ID]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ ID ID of the Channel entity
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/removeChannel.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/removeChannel.ts)_
|
|
|
+
|
|
|
+## `joystream-cli media:removeVideo [ID]`
|
|
|
+
|
|
|
+Remove given Video entity and associated entities (VideoMedia, License) from content directory.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:removeVideo [ID]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ ID ID of the Video entity
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/removeVideo.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/removeVideo.ts)_
|
|
|
+
|
|
|
+## `joystream-cli media:setFeaturedVideos VIDEOIDS`
|
|
|
+
|
|
|
+Set currently featured videos (requires lead/maintainer access).
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:setFeaturedVideos VIDEOIDS
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ VIDEOIDS Comma-separated video ids
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ --add If provided - currently featured videos will not be removed.
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/setFeaturedVideos.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/setFeaturedVideos.ts)_
|
|
|
+
|
|
|
+## `joystream-cli media:updateChannel [ID]`
|
|
|
+
|
|
|
+Update one of the owned channels on Joystream (requires a membership).
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:updateChannel [ID]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ ID ID of the channel to update
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -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 directory where the output JSON file should be placed (the output file can be then
|
|
|
+ reused as input)
|
|
|
+
|
|
|
+ --asCurator Provide this flag in order to use Curator context for the update
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/updateChannel.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/updateChannel.ts)_
|
|
|
+
|
|
|
+## `joystream-cli media:updateVideo [ID]`
|
|
|
+
|
|
|
+Update existing video information (requires controller/maintainer access).
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:updateVideo [ID]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ ID ID of the Video to update
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ --asCurator Specify in order to update the video as curator
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/updateVideo.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/updateVideo.ts)_
|
|
|
+
|
|
|
+## `joystream-cli media:updateVideoLicense [ID]`
|
|
|
+
|
|
|
+Update existing video license (requires controller/maintainer access).
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:updateVideoLicense [ID]
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ ID ID of the Video
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/updateVideoLicense.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/updateVideoLicense.ts)_
|
|
|
+
|
|
|
+## `joystream-cli media:uploadVideo FILEPATH`
|
|
|
+
|
|
|
+Upload a new Video to a channel (requires a membership).
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli media:uploadVideo FILEPATH
|
|
|
+
|
|
|
+ARGUMENTS
|
|
|
+ FILEPATH Path to the media file to upload
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -c, --channel=channel ID of the channel to assign the video to (if omitted - one of the owned channels can be
|
|
|
+ selected from the list)
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/media/uploadVideo.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/media/uploadVideo.ts)_
|
|
|
+
|
|
|
## `joystream-cli working-groups:application WGAPPLICATIONID`
|
|
|
|
|
|
Shows an overview of given application by Working Group Application ID
|
|
@@ -328,9 +812,8 @@ ARGUMENTS
|
|
|
WGAPPLICATIONID Working Group Application ID
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/application.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/application.ts)_
|
|
@@ -344,19 +827,20 @@ USAGE
|
|
|
$ joystream-cli working-groups:createOpening
|
|
|
|
|
|
OPTIONS
|
|
|
- -c, --createDraftOnly If provided - the extrinsic will not be executed. Use this flag if you only want to create
|
|
|
- a draft.
|
|
|
+ -e, --edit If provided along with --input - launches in edit mode allowing to modify the
|
|
|
+ input before sending the exstinsic
|
|
|
|
|
|
- -d, --useDraft Whether to create the opening from existing draft.
|
|
|
- If provided without --draftName - the list of choices will be displayed.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command
|
|
|
- should be executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -i, --input=input Path to JSON file to use as input (if not specified - the input can be
|
|
|
+ provided interactively)
|
|
|
|
|
|
- -n, --draftName=draftName Name of the draft to create the opening from.
|
|
|
+ -o, --output=output Path to the file where the output JSON should be saved (this output can be
|
|
|
+ then reused as input)
|
|
|
|
|
|
- -s, --skipPrompts Whether to skip all prompts when adding from draft (will use all default values)
|
|
|
+ --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)_
|
|
@@ -373,9 +857,8 @@ ARGUMENTS
|
|
|
WORKERID Worker ID
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/decreaseWorkerStake.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/decreaseWorkerStake.ts)_
|
|
@@ -392,9 +875,8 @@ ARGUMENTS
|
|
|
WORKERID Worker ID
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/evictWorker.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/evictWorker.ts)_
|
|
@@ -411,9 +893,8 @@ ARGUMENTS
|
|
|
WGOPENINGID Working Group Opening ID
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/fillOpening.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/fillOpening.ts)_
|
|
@@ -427,9 +908,8 @@ USAGE
|
|
|
$ joystream-cli working-groups:increaseStake
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/increaseStake.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/increaseStake.ts)_
|
|
@@ -443,9 +923,8 @@ USAGE
|
|
|
$ joystream-cli working-groups:leaveRole
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/leaveRole.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/leaveRole.ts)_
|
|
@@ -462,9 +941,8 @@ ARGUMENTS
|
|
|
WGOPENINGID Working Group Opening ID
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/opening.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/opening.ts)_
|
|
@@ -478,9 +956,8 @@ USAGE
|
|
|
$ joystream-cli working-groups:openings
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/openings.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/openings.ts)_
|
|
@@ -494,13 +971,27 @@ USAGE
|
|
|
$ joystream-cli working-groups:overview
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_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:setDefaultGroup`
|
|
|
+
|
|
|
+Change the default group context for working-groups commands.
|
|
|
+
|
|
|
+```
|
|
|
+USAGE
|
|
|
+ $ joystream-cli working-groups:setDefaultGroup
|
|
|
+
|
|
|
+OPTIONS
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
+```
|
|
|
+
|
|
|
+_See code: [src/commands/working-groups/setDefaultGroup.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/setDefaultGroup.ts)_
|
|
|
+
|
|
|
## `joystream-cli working-groups:slashWorker WORKERID`
|
|
|
|
|
|
Slashes given worker stake. Requires lead access.
|
|
@@ -513,9 +1004,8 @@ ARGUMENTS
|
|
|
WORKERID Worker ID
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/slashWorker.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/slashWorker.ts)_
|
|
@@ -532,9 +1022,8 @@ ARGUMENTS
|
|
|
WGOPENINGID Working Group Opening ID
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/startAcceptingApplications.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/startAcceptingApplications.ts)_
|
|
@@ -551,9 +1040,8 @@ ARGUMENTS
|
|
|
WGOPENINGID Working Group Opening ID
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/startReviewPeriod.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/startReviewPeriod.ts)_
|
|
@@ -570,9 +1058,8 @@ ARGUMENTS
|
|
|
WGAPPLICATIONID Working Group Application ID
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/terminateApplication.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/terminateApplication.ts)_
|
|
@@ -589,9 +1076,8 @@ ARGUMENTS
|
|
|
ACCOUNTADDRESS New reward account address (if omitted, one of the existing CLI accounts can be selected)
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/updateRewardAccount.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateRewardAccount.ts)_
|
|
@@ -608,9 +1094,8 @@ ARGUMENTS
|
|
|
ACCOUNTADDRESS New role account address (if omitted, one of the existing CLI accounts can be selected)
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/updateRoleAccount.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateRoleAccount.ts)_
|
|
@@ -627,9 +1112,8 @@ ARGUMENTS
|
|
|
WORKERID Worker ID
|
|
|
|
|
|
OPTIONS
|
|
|
- -g, --group=group (required) [default: storageProviders] The working group context in which the command should be
|
|
|
- executed
|
|
|
- Available values are: storageProviders.
|
|
|
+ -g, --group=(storageProviders|curators) The working group context in which the command should be executed
|
|
|
+ Available values are: storageProviders, curators.
|
|
|
```
|
|
|
|
|
|
_See code: [src/commands/working-groups/updateWorkerReward.ts](https://github.com/Joystream/joystream/blob/master/cli/src/commands/working-groups/updateWorkerReward.ts)_
|