Skip to content

Commit

Permalink
apps: deprecate tier get/list (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething authored Aug 9, 2024
1 parent d708a5f commit d8e6203
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions commands/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -831,8 +831,9 @@ func appsTier() *Command {
},
}

CmdBuilder(cmd, RunAppsTierList, "list", "List all app tiers", `Use this command to list all the available app tiers.`, Writer, aliasOpt("ls"))
CmdBuilder(cmd, RunAppsTierGet, "get <tier slug>", "Retrieve an app tier", `Use this command to retrieve information about a specific app tier.`, Writer)
tierDeprecationMsg := "This command is deprecated and will be removed in a future release. Use `doctl apps tier instance-size <get|list>` instead.\n\n"
CmdBuilder(cmd, RunAppsTierList, "list", "List all app tiers", tierDeprecationMsg+`Use this command to list all the available app tiers.`, Writer, aliasOpt("ls"), hiddenCmd())
CmdBuilder(cmd, RunAppsTierGet, "get <tier slug>", "Retrieve an app tier", tierDeprecationMsg+`Use this command to retrieve information about a specific app tier.`, Writer, hiddenCmd())

cmd.AddCommand(appsTierInstanceSize())

Expand Down

0 comments on commit d8e6203

Please sign in to comment.