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

Commit

Permalink
add aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
martinnirtl committed Mar 3, 2020
1 parent c7ee110 commit 5538662
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commands/profilecmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "github.com/spf13/cobra"
func GetProfileCommand() *cobra.Command {
profileCommand := &cobra.Command{
Use: "profile",
Aliases: []string{"profiles"},
Aliases: []string{"profiles", "pr"},
Short: "Manage profiles (named service selections)",
Long: "Manage profiles (named service selections)",
}
Expand Down
1 change: 1 addition & 0 deletions internal/commands/restartcmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
func GetRestartCommand() *cobra.Command {
return &cobra.Command{
Use: "restart [service...]",
Aliases: []string{"rs"},
Short: "Restart all or only selected services",
Long: "Restart all or only selected services",
Example: "dockma restart database",
Expand Down
1 change: 1 addition & 0 deletions internal/commands/scriptcmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
func GetScriptCommand() *cobra.Command {
return &cobra.Command{
Use: "script [scriptname]",
Aliases: []string{"sc"},
Short: "Run script (.sh) located in scripts dir of active environment",
Long: "Run script (.sh) located in scripts dir of active environment",
Example: "dockma script",
Expand Down

0 comments on commit 5538662

Please sign in to comment.