mccli

package
v0.0.0-...-2be0f72 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2017 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateCommand = cli.Command{
	Name:    "create",
	Aliases: []string{"cr", "c"},
	Usage:   "Create commands",
	Subcommands: []cli.Command{
		createProjectCommand,
	},
}
View Source
var DownloadCommand = cli.Command{
	Name:    "download",
	Aliases: []string{"down", "d"},
	Usage:   "Downloads files, directories or projects",
	Subcommands: []cli.Command{
		downloadProjectCommand,
		downloadFileCommand,
	},
}
View Source
var GetCommand = cli.Command{
	Name:  "get",
	Usage: "Get a property",
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "name, n",
			Usage: "name of receiving service",
		},
	},
	Action: getCLI,
}
View Source
var LoginCommand = cli.Command{
	Name:    "login",
	Aliases: []string{"l"},
	Usage:   "Login to MaterialsCommons",
	Flags:   []cli.Flag{},
	Action:  loginCLI,
}
View Source
var (
	MkdirsCommand = cli.Command{
		Name:    "mkdirs",
		Aliases: []string{"mkd"},
		Usage:   "Create project directories",
		Subcommands: []cli.Command{
			mkdirsProjectCommand,
		},
	}
)
View Source
var MonitorCommand = cli.Command{
	Name:    "monitor",
	Aliases: []string{"mon", "m"},
	Usage:   "Monitor a directory for changes",
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "name, n",
			Usage: "name of receiving service",
		},
	},
	Action: monitorCLI,
}
View Source
var ReceiveCommand = cli.Command{
	Name:    "receive",
	Aliases: []string{"rec", "r"},
	Usage:   "Receive data over the air",
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "name, n",
			Usage: "name of receiving service",
		},
	},
	Action: receiveCLI,
}
View Source
var SendCommand = cli.Command{
	Name:    "send",
	Aliases: []string{"s"},
	Usage:   "Send data over the air",
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "name, n",
			Usage: "name of receiving service",
		},
		cli.StringFlag{
			Name:  "project, p",
			Usage: "project to send from",
		},
		cli.StringFlag{
			Name:  "directory, d",
			Usage: "directory to send files from",
		},
		cli.StringFlag{
			Name:  "file, f",
			Usage: "file to send",
		},
	},
	Action: sendCLI,
}
View Source
var SetCommand = cli.Command{
	Name:  "set",
	Usage: "Set property",
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "name, n",
			Usage: "name of receiving service",
		},
	},
	Action: setCLI,
}
View Source
var SetupCommand = cli.Command{
	Name:  "setup",
	Usage: "Set up the configuration",
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "server, s",
			Usage: "The server url to connect to",
		},
	},
	Action: setupCLI,
}

Command contains the options to configure the setup command.

View Source
var ShowCommand = cli.Command{
	Name:    "show",
	Aliases: []string{"sh"},
	Usage:   "Show commands",
	Subcommands: []cli.Command{
		showConfigCommand,
		showProjectCommand,
	},
}
View Source
var UploadCommand = cli.Command{
	Name:    "upload",
	Aliases: []string{"up", "u"},
	Usage:   "Upload commands",
	Subcommands: []cli.Command{
		uploadProjectCommand,
		uploadFileCommand,
		uploadDirCommand,
	},
}
View Source
var (
	WatchCommand = cli.Command{
		Name:    "watch",
		Aliases: []string{"w"},
		Usage:   "Watch commands",
		Subcommands: []cli.Command{
			watchProjectCommand,
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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