@@ -25,7 +25,7 @@ import (
2525func NewCommand (clients * shared.ClientFactory ) * cobra.Command {
2626 cmd := & cobra.Command {
2727 Use : "app" ,
28- Aliases : []string {"workspace" , " app" , "apps" , "team" , "teams" , "workspaces " },
28+ Aliases : []string {"app" , "apps" },
2929 Short : "Install, uninstall, and list teams with the app installed" ,
3030 Long : "Install, uninstall, and list teams with the app installed" ,
3131 Example : style .ExampleCommandsf ([]style.ExampleCommand {
@@ -45,20 +45,6 @@ func NewCommand(clients *shared.ClientFactory) *cobra.Command {
4545 RunE : func (cmd * cobra.Command , args []string ) error {
4646 return runListCommand (cmd , clients )
4747 },
48- PostRunE : func (cmd * cobra.Command , args []string ) error {
49- ctx := cmd .Context ()
50- // DEPRECATED(semver:major): remove the "workspace" alias
51- if cmd .CalledAs () == "workspace" {
52- clients .IO .PrintInfo (ctx , false ,
53- "\n %s It looks like you used %s. This command will be deprecated in an upcoming release.\n You can now use %s instead of %s.\n " ,
54- style .Emoji ("bulb" ),
55- style .Commandf ("workspace" , true ),
56- style .Commandf ("app" , true ),
57- style .Commandf ("workspace" , true ),
58- )
59- }
60- return nil
61- },
6248 }
6349
6450 // Add child commands
0 commit comments