refactor: break up cli pkg into nice small chunks
This commit is contained in:
26
cli/server/server.go
Normal file
26
cli/server/server.go
Normal file
@ -0,0 +1,26 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
// Reminder: The list commands are in is the order they appear in the help menu
|
||||
var ServerCommand = &cli.Command{
|
||||
Name: "server",
|
||||
ArgsUsage: "<host>",
|
||||
Usage: "Manage the servers that host your apps",
|
||||
Description: `
|
||||
Manage the lifecycle of a server.
|
||||
|
||||
These commands support creating new servers using 3rd party integrations,
|
||||
initialising existing servers to support Co-op Cloud deployments and managing
|
||||
the connections to those servers.
|
||||
`,
|
||||
Subcommands: []*cli.Command{
|
||||
serverNewCommand,
|
||||
serverInitCommand,
|
||||
serverAddCommand,
|
||||
serverListCommand,
|
||||
serverRemoveCommand,
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user