Skip to content

Commit

Permalink
Expand command descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
andscoop committed Jul 2, 2018
1 parent c1ad8c9 commit 364efb2
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 14 deletions.
4 changes: 2 additions & 2 deletions cmd/airflow.go
Expand Up @@ -27,13 +27,13 @@ var (
airflowRootCmd = &cobra.Command{
Use: "airflow",
Short: "Manage airflow projects and deployments",
Long: "Manage airflow projects and deployments",
Long: "Airflow projects are a single top-level directory which represents a single production Airflow deployment",
}

airflowInitCmd = &cobra.Command{
Use: "init",
Short: "Scaffold a new airflow project",
Long: "Scaffold a new airflow project",
Long: "Scaffold a new airflow project directory. Will create the necessary files to begin development locally as well as be deployed to the Astronomer Platform.",
RunE: airflowInit,
}

Expand Down
4 changes: 2 additions & 2 deletions cmd/auth.go
Expand Up @@ -17,13 +17,13 @@ var (
authRootCmd = &cobra.Command{
Use: "auth",
Short: "Mangage astronomer identity",
Long: "Manage astronomer identity",
Long: "Handles authentication to the Astronomer Platform",
}

authLoginCmd = &cobra.Command{
Use: "login",
Short: "Login to Astronomer services",
Long: "Login to Astronomer services",
Long: "Authenticate to houston-api using oAuth or basic auth.",
RunE: authLogin,
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/deployment.go
Expand Up @@ -9,7 +9,7 @@ var (
Use: "deployment",
Aliases: []string{"de"},
Short: "Manage airflow deployments",
Long: "Manage airflow deployments",
Long: "Deployments are individual Airflow clusters running on an installation of the Astronomer platform.",
}

deploymentCreateCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/user.go
Expand Up @@ -15,7 +15,7 @@ var (
userRootCmd = &cobra.Command{
Use: "user",
Short: "Manage astronomer user",
Long: "Manage astronomer user",
Long: "Users represents a human who has authenticated with the Astronomer platform",
}

userListCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Expand Up @@ -11,7 +11,7 @@ var (
versionCmd = &cobra.Command{
Use: "version",
Short: "Astronomer CLI version",
Long: "Astronomer CLI version",
Long: "The astro-cli semantic version and git commit tied to that release.",
RunE: printVersion,
}

Expand Down
17 changes: 10 additions & 7 deletions cmd/workspace.go
Expand Up @@ -9,14 +9,15 @@ var (
Use: "workspace",
Aliases: []string{"wo", "ws"},
Short: "Manage Astronomer workspaces",
Long: "Manage astronomer workspaces",
Long: "Workspaces contain a group of Airflow Cluster Deployments. The creator of the workspace can invite other users into it",
}

workspaceListCmd = &cobra.Command{
Use: "list",
Short: "List astronomer workspaces",
Long: "List astronomer workspaces",
RunE: workspaceList,
Use: "list",
Aliases: []string{"ls"},
Short: "List astronomer workspaces",
Long: "List astronomer workspaces",
RunE: workspaceList,
}

workspaceCreateCmd = &cobra.Command{
Expand Down Expand Up @@ -58,18 +59,20 @@ func init() {
workspaceRootCmd.AddCommand(workspaceUpdateCmd)
}

func workspaceList(cmd *cobra.Command, args []string) error {
func workspaceCreate(cmd *cobra.Command, args []string) error {
return nil
}

func workspaceCreate(cmd *cobra.Command, args []string) error {
func workspaceList(cmd *cobra.Command, args []string) error {
return nil
}

// TODO
func workspaceDelete(cmd *cobra.Command, args []string) error {
return nil
}

// TODO
func workspaceUpdate(cmd *cobra.Command, args []string) error {
return nil
}

0 comments on commit 364efb2

Please sign in to comment.