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
|
@ -190,7 +190,7 @@ var appSecretCommand = &cli.Command{
|
|||
|
||||
var AppCommand = &cli.Command{
|
||||
Name: "app",
|
||||
HideHelp: true,
|
||||
Usage: "Manage your apps",
|
||||
Subcommands: []*cli.Command{
|
||||
appNewCommand,
|
||||
appConfigCommand,
|
||||
|
|
10
cli/cli.go
10
cli/cli.go
|
@ -11,7 +11,15 @@ import (
|
|||
func RunApp(version, commit string) {
|
||||
app := &cli.App{
|
||||
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]),
|
||||
Commands: []*cli.Command{
|
||||
AppCommand,
|
||||
|
|
|
@ -296,7 +296,7 @@ var recipeCreateCommand = &cli.Command{
|
|||
|
||||
var RecipeCommand = &cli.Command{
|
||||
Name: "recipe",
|
||||
HideHelp: true,
|
||||
Usage: "Manage app recipes",
|
||||
Subcommands: []*cli.Command{
|
||||
recipeListCommand,
|
||||
recipeVersionCommand,
|
||||
|
|
|
@ -125,7 +125,7 @@ var serverAppsCommand = &cli.Command{
|
|||
var ServerCommand = &cli.Command{
|
||||
Name: "server",
|
||||
ArgsUsage: "<host>",
|
||||
Usage: "Interact with the servers hosting your apps",
|
||||
Usage: "Manage the servers that host your apps",
|
||||
HideHelp: true,
|
||||
Subcommands: []*cli.Command{
|
||||
serverNewCommand,
|
||||
|
|
Loading…
Reference in New Issue