commands

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CmdNew = cli.Command{
		Name:      "new",
		Usage:     "Creates a openwallet application",
		ArgsUsage: "",
		Category:  "Application COMMANDS",
		Description: `
Creates a openwallet application for the given app name in the current directory.

  The command 'new' creates a folder named [appname] and generates the following structure:

`,
		Flags: []cli.Flag{
			utils.AppNameFlag,
		},
		Action: createNewApp,
	}
)
View Source
var (
	CmdRun = cli.Command{
		Name:      "run",
		Usage:     "run [appname] [watchall] [-main=*.go] [-downdoc=true]  [-gendoc=true] [-vendor=true] [-e=folderToExclude] [-ex=extraPackageToWatch] [-tags=goBuildTags] [-runmode=BEEGO_RUNMODE]",
		ArgsUsage: "",
		Category:  "Application COMMANDS",
		Description: `
Run command will supervise the filesystem of the application for any changes, and recompile/restart it.

`,
		Action: func(c *cli.Context) error {
			return nil
		},
	}
)
View Source
var (
	// 服务命令
	CmdServer = cli.Command{
		Name:      "server",
		Usage:     "Manage mqnode server",
		ArgsUsage: "",
		Category:  "Application COMMANDS",
		Description: `
Use mqnode commands to join mqnode server

`,
		Subcommands: []cli.Command{
			{

				Name:      "keychain",
				Usage:     "create or see server keychain",
				ArgsUsage: "<init>",
				Action:    serviceKeychain,
				Category:  "mqnode COMMANDS",
				Flags: []cli.Flag{
					utils.InitFlag,
				},
				Description: `
	openw mqnode keychain [-ri]

This command will show the local publicKey and mqnode publicKey.
	`,
			},

			{

				Name:      "config",
				Usage:     "Start a timer to sum wallet balance",
				ArgsUsage: "<init>",
				Action:    configServiceNode,
				Category:  "mqnode COMMANDS",
				Flags: []cli.Flag{
					utils.InitFlag,
					utils.SymbolFlag,
					utils.MQUrl,
					utils.MQAccount,
					utils.MQPassword,
					utils.MQExchange,
					utils.EnableBlockScan,
					utils.ISTestNet,
				},
				Description: `
	openw wallet config [i]

	`,
			},

			{

				Name:      "run",
				Usage:     "Start a timer to sum wallet balance",
				ArgsUsage: "<init>",
				Action:    run,
				Category:  "mqnode COMMANDS",
				Flags: []cli.Flag{
					utils.InitFlag,
				},
				Description: `
	openw wallet config [i]

	`,
			},
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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