cmd

package
v0.0.0-...-1ae3dfb Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2017 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddBuild = cli.Command{
	Name:        "add",
	Usage:       "Add given build for specified branch.",
	Description: "Add the given build of specified branch exist in symbol store.",
	Action:      addBuild,
	Flags: []cli.Flag{
		stringFlag("branch, b", "", "The branch name in the symbol store."),
		stringFlag("version, v", "", "The build version, empty version for the latest build."),
	},
}

AddBuild ...

View Source
var Admin = cli.Command{
	Name:        "scan",
	Usage:       "Scan the exist symbol store",
	Description: "Scan the exist symbol store, and generate the config.",
	Action:      runAdmin,
	Flags: []cli.Flag{
		stringFlag("path, p", `D:\SymbolServer`, "Exist symbol store path"),
	},
}

Admin ...

View Source
var Web = cli.Command{
	Name:        "serve",
	Usage:       "Start symbol store server",
	Description: "Symbol server will take care of symbols, and serve the web portal.",
	Action:      runWeb,
	Flags: []cli.Flag{
		stringFlag("port, p", "3000", "Given port number to prevent conflict"),
		stringFlag("config, c", "config/server.ini", "Custom configuration file path"),
	},
}

Web server subcommand

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