Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Fix review pt 1
Browse files Browse the repository at this point in the history
  • Loading branch information
brunats committed Jul 27, 2020
1 parent 41648a0 commit 7e0e7ee
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions functional/core/core_feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"action":"main"
}
],
"result":"Add a new formula repository to ritchie-cli."
"result":"Add a new repository of formulas"
},
{
"entry":"Add new repo",
Expand Down Expand Up @@ -224,7 +224,7 @@
"action":"main"
}
],
"result":"Delete a object like context and repository."
"result":"Delete contexts and repositories."
},
{
"entry":"Show",
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func NewAddCmd() *cobra.Command {
return &cobra.Command{
Use: "add SUBCOMMAND",
Short: "Add repositories ",
Long: "Add a new formula repository to ritchie-cli.",
Long: "Add a new repository of formulas",
Example: "rit add repo",
}
}
2 changes: 1 addition & 1 deletion pkg/cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "github.com/spf13/cobra"
func NewBuildCmd() *cobra.Command {
return &cobra.Command{
Use: "build SUB_COMMAND",
Short: "Build formulas - with subcomando formulas",
Short: "Build formulas",
Long: "This is a root command, to use it, add a sub command.",
Example: "rit build formula",
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import "github.com/spf13/cobra"
func NewDeleteCmd() *cobra.Command {
return &cobra.Command{
Use: "delete SUBCOMMAND",
Short: "Delete objects (contexts, repositories)",
Long: "Delete a object like context and repository.",
Short: "Delete contexts and repositories",
Long: "Delete contexts and repositories.",
Example: "rit delete context",
}
}
2 changes: 1 addition & 1 deletion pkg/cmd/delete_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewDeleteContextCmd(

cmd := &cobra.Command{
Use: "context",
Short: "Delete context for ritchie-cli",
Short: "Delete context for credentials",
Example: "rit delete context",
RunE: RunFuncE(d.runStdin(), d.runPrompt()),
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
func NewSetCmd() *cobra.Command {
return &cobra.Command{
Use: "set SUBCOMMAND",
Short: "Set objects (context, credential, repo-priority)",
Short: "Set contexts, credentials and priorities",
Long: "Set contexts, credentials and priorities for formula repositories.",
Example: "rit set context",
}
Expand Down

0 comments on commit 7e0e7ee

Please sign in to comment.