cli

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagSubspaceType = "type"
	FlagName         = "name"
	FlagOwner        = "owner"

	DoNotEdit = "do-not-edit"
)

Variables

This section is empty.

Functions

func GetCmdAddAdmin

func GetCmdAddAdmin() *cobra.Command

GetCmdAddAdmin returns the command to add an admin to a subspace

func GetCmdBanUser

func GetCmdBanUser() *cobra.Command

GetCmdBanUser returns the command to ban a user inside a subspace

func GetCmdCreateSubspace

func GetCmdCreateSubspace() *cobra.Command

GetCmdCreateSubspace returns the command used to create a subspace

func GetCmdEditSubspace

func GetCmdEditSubspace() *cobra.Command

GetCmdEditSubspace returns the command to edit a subspace

func GetCmdQuerySubspace

func GetCmdQuerySubspace() *cobra.Command

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

func GetCmdQuerySubspaceAdmins

func GetCmdQuerySubspaceAdmins() *cobra.Command

GetCmdQuerySubspaceAdmins returns the command to query the admins of a given subspace

func GetCmdQuerySubspaceBannedUsers

func GetCmdQuerySubspaceBannedUsers() *cobra.Command

GetCmdQuerySubspaceBannedUsers returns the command to query the banned users of a given subspace

func GetCmdQuerySubspaceRegisteredUsers

func GetCmdQuerySubspaceRegisteredUsers() *cobra.Command

GetCmdQuerySubspaceRegisteredUsers returns the command to query the registered users of a given subspace

func GetCmdQuerySubspaces

func GetCmdQuerySubspaces() *cobra.Command

GetCmdQuerySubspaces returns the command to query all the subspaces

func GetCmdRegisterUser

func GetCmdRegisterUser() *cobra.Command

GetCmdRegisterUser returns the command to register a user inside a subspace

func GetCmdRemoveAdmin

func GetCmdRemoveAdmin() *cobra.Command

GetCmdRemoveAdmin returns the command to remove an admin from a subspace

func GetCmdUnbanUser

func GetCmdUnbanUser() *cobra.Command

GetCmdUnbanUser returns the command to unban a user from a subspace

func GetCmdUnregisterUser

func GetCmdUnregisterUser() *cobra.Command

GetCmdUnregisterUser returns the command to unregister a user from a subspace

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the command allowing to perform queries

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