cli

package
v0.0.0-...-03ee383 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagName           = "name"
	FlagDescription    = "description"
	FlagParent         = "parent"
	FlagSection        = "section"
	FlagTreasury       = "treasury"
	FlagOwner          = "owner"
	FlagPermissions    = "permissions"
	FlagInitialMembers = "initial-members"
)

Variables

This section is empty.

Functions

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 GetCmdGrantAuthorization

func GetCmdGrantAuthorization() *cobra.Command

GetCmdGrantAuthorization returns the command to grant a subspace 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 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 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 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 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