cli

package
v5.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagName           = "name"
	FlagDescription    = "description"
	FlagParent         = "parent"
	FlagSection        = "section"
	FlagOwner          = "owner"
	FlagPermissions    = "permissions"
	FlagInitialMembers = "initial-members"
)
View Source
const (
	FlagUserGrantee  = "user"
	FlagGroupGrantee = "group"
)

Variables

This section is empty.

Functions

func GetAllowancesQueryCmd

func GetAllowancesQueryCmd() *cobra.Command

GetAllowancesQueryCmd returns a new command to query subspace allowances

func GetAllowancesTxCmd

func GetAllowancesTxCmd() *cobra.Command

GetAllowancesTxCmd returns a new command to perform subspaces treasury transactions

func GetCmdAddUserToUserGroup

func GetCmdAddUserToUserGroup() *cobra.Command

GetCmdAddUserToUserGroup returns the command to add a user to a user group

func GetCmdCreateSection

func GetCmdCreateSection() *cobra.Command

GetCmdCreateSection returns the command used to create a subspace section

func GetCmdCreateSubspace

func GetCmdCreateSubspace() *cobra.Command

GetCmdCreateSubspace returns the command used to create a subspace

func GetCmdCreateUserGroup

func GetCmdCreateUserGroup() *cobra.Command

GetCmdCreateUserGroup returns the command to create a user group

func GetCmdDeleteSection

func GetCmdDeleteSection() *cobra.Command

GetCmdDeleteSection returns the command to delete a subspace section

func GetCmdDeleteSubspace

func GetCmdDeleteSubspace() *cobra.Command

GetCmdDeleteSubspace returns the command to delete a subspace

func GetCmdDeleteUserGroup

func GetCmdDeleteUserGroup() *cobra.Command

GetCmdDeleteUserGroup returns the command to delete a user group

func GetCmdEditSection

func GetCmdEditSection() *cobra.Command

GetCmdEditSection returns the command to edit a subspace section

func GetCmdEditSubspace

func GetCmdEditSubspace() *cobra.Command

GetCmdEditSubspace returns the command to edit a subspace

func GetCmdEditUserGroup

func GetCmdEditUserGroup() *cobra.Command

GetCmdEditUserGroup returns the command to edit a user group

func GetCmdGrantAllowance

func GetCmdGrantAllowance() *cobra.Command

GetCmdGrantAllowance returns the command used to grant a fee allowance

func GetCmdGrantAuthorization

func GetCmdGrantAuthorization() *cobra.Command

GetCmdGrantAuthorization returns the command to grant a subspace authorization

func GetCmdGrantTreasuryAuthorization

func GetCmdGrantTreasuryAuthorization() *cobra.Command

GetCmdGrantTreasuryAuthorization returns the command used to grant a treasury authorization

func GetCmdMoveSection

func GetCmdMoveSection() *cobra.Command

GetCmdMoveSection returns the command to delete a subspace section

func GetCmdMoveUserGroup

func GetCmdMoveUserGroup() *cobra.Command

GetCmdMoveUserGroup returns the command to move a user group to another section

func GetCmdQueryGroupAllowances

func GetCmdQueryGroupAllowances() *cobra.Command

GetCmdQueryGroupAllowances returns the command to query the fee allowances of a specific group

func GetCmdQuerySection

func GetCmdQuerySection() *cobra.Command

GetCmdQuerySection returns the command to query a specific section of a subspace

func GetCmdQuerySections

func GetCmdQuerySections() *cobra.Command

GetCmdQuerySections returns the command to query the sections of a subspace

func GetCmdQuerySubspace

func GetCmdQuerySubspace() *cobra.Command

GetCmdQuerySubspace returns the command to query the subspace with the given id

func GetCmdQuerySubspaces

func GetCmdQuerySubspaces() *cobra.Command

GetCmdQuerySubspaces returns the command to query all the subspaces

func GetCmdQueryUserAllowances

func GetCmdQueryUserAllowances() *cobra.Command

GetCmdQueryUserAllowances returns the command to query the fee allowances of a specific user

func GetCmdQueryUserGroup

func GetCmdQueryUserGroup() *cobra.Command

GetCmdQueryUserGroup returns the command to query a specific user group of a subspace

func GetCmdQueryUserGroupMembers

func GetCmdQueryUserGroupMembers() *cobra.Command

GetCmdQueryUserGroupMembers returns the command to query the members of a specific user group

func GetCmdQueryUserGroups

func GetCmdQueryUserGroups() *cobra.Command

GetCmdQueryUserGroups returns the command to query the user groups of a subspace

func GetCmdQueryUserPermissions

func GetCmdQueryUserPermissions() *cobra.Command

GetCmdQueryUserPermissions returns the command to query the permissions of a specific user

func GetCmdRemoveUserFromUserGroup

func GetCmdRemoveUserFromUserGroup() *cobra.Command

GetCmdRemoveUserFromUserGroup returns the command to remove a user from a user group

func GetCmdRevokeAllowance

func GetCmdRevokeAllowance() *cobra.Command

GetCmdRevokeAllowance returns the command used to revoke a fee allowance

func GetCmdRevokeTreasuryAuthorization

func GetCmdRevokeTreasuryAuthorization() *cobra.Command

GetCmdGrantTreasuryAuthorization returns the command used to revoke a treasury authorization

func GetCmdSetUserGroupPermissions

func GetCmdSetUserGroupPermissions() *cobra.Command

GetCmdSetUserGroupPermissions returns the command to set the permissions for a user group

func GetCmdSetUserPermissions

func GetCmdSetUserPermissions() *cobra.Command

GetCmdSetUserPermissions returns the command to set the permissions for a user

func GetGroupsQueryCmd

func GetGroupsQueryCmd() *cobra.Command

GetGroupsQueryCmd returns a new command to perform queries for user groups

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the command allowing to perform queries

func GetSectionsQueryCmd

func GetSectionsQueryCmd() *cobra.Command

GetSectionsQueryCmd returns a new command to perform queries for sections

func GetTreasuryTxCmd

func GetTreasuryTxCmd() *cobra.Command

GetTreasuryTxCmd returns a new command to perform subspaces treasury transactions

func NewGroupsTxCmd

func NewGroupsTxCmd() *cobra.Command

NewGroupsTxCmd returns a new command to perform subspaces groups transactions

func NewSectionsTxCmd

func NewSectionsTxCmd() *cobra.Command

NewSectionsTxCmd returns a new command to perform subspaces sections transactions

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns a new command to perform subspaces transactions

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL