forked from coop-cloud/abra
docs: take a pass on CLI usage docs and add ASCII
This commit is contained in:
parent
3bc612c44e
commit
429c7e4e50
|
@ -189,8 +189,8 @@ var appSecretCommand = &cli.Command{
|
||||||
}
|
}
|
||||||
|
|
||||||
var AppCommand = &cli.Command{
|
var AppCommand = &cli.Command{
|
||||||
Name: "app",
|
Name: "app",
|
||||||
HideHelp: true,
|
Usage: "Manage your apps",
|
||||||
Subcommands: []*cli.Command{
|
Subcommands: []*cli.Command{
|
||||||
appNewCommand,
|
appNewCommand,
|
||||||
appConfigCommand,
|
appConfigCommand,
|
||||||
|
|
12
cli/cli.go
12
cli/cli.go
|
@ -10,8 +10,16 @@ import (
|
||||||
|
|
||||||
func RunApp(version, commit string) {
|
func RunApp(version, commit string) {
|
||||||
app := &cli.App{
|
app := &cli.App{
|
||||||
Name: "abra",
|
Name: "abra",
|
||||||
Usage: "The Co-op Cloud utility belt 🎩🐇",
|
Usage: `The Co-op Cloud command-line utility belt 🎩🐇
|
||||||
|
|
||||||
|
____ ____ _ _
|
||||||
|
/ ___|___ ___ _ __ / ___| | ___ _ _ __| |
|
||||||
|
| | / _ \ _____ / _ \| '_ \ | | | |/ _ \| | | |/ _' |
|
||||||
|
| |__| (_) |_____| (_) | |_) | | |___| | (_) | |_| | (_| |
|
||||||
|
\____\___/ \___/| .__/ \____|_|\___/ \__,_|\__,_|
|
||||||
|
|_|
|
||||||
|
`,
|
||||||
Version: fmt.Sprintf("%s-%s", version, commit[:7]),
|
Version: fmt.Sprintf("%s-%s", version, commit[:7]),
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
AppCommand,
|
AppCommand,
|
||||||
|
|
|
@ -295,8 +295,8 @@ var recipeCreateCommand = &cli.Command{
|
||||||
}
|
}
|
||||||
|
|
||||||
var RecipeCommand = &cli.Command{
|
var RecipeCommand = &cli.Command{
|
||||||
Name: "recipe",
|
Name: "recipe",
|
||||||
HideHelp: true,
|
Usage: "Manage app recipes",
|
||||||
Subcommands: []*cli.Command{
|
Subcommands: []*cli.Command{
|
||||||
recipeListCommand,
|
recipeListCommand,
|
||||||
recipeVersionCommand,
|
recipeVersionCommand,
|
||||||
|
|
|
@ -125,7 +125,7 @@ var serverAppsCommand = &cli.Command{
|
||||||
var ServerCommand = &cli.Command{
|
var ServerCommand = &cli.Command{
|
||||||
Name: "server",
|
Name: "server",
|
||||||
ArgsUsage: "<host>",
|
ArgsUsage: "<host>",
|
||||||
Usage: "Interact with the servers hosting your apps",
|
Usage: "Manage the servers that host your apps",
|
||||||
HideHelp: true,
|
HideHelp: true,
|
||||||
Subcommands: []*cli.Command{
|
Subcommands: []*cli.Command{
|
||||||
serverNewCommand,
|
serverNewCommand,
|
||||||
|
|
Loading…
Reference in New Issue