mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Implement basic templates versions CLI (#3145)
This commit is contained in:
@@ -13,6 +13,7 @@ func templateList() *cobra.Command {
|
||||
)
|
||||
cmd := &cobra.Command{
|
||||
Use: "list",
|
||||
Short: "List all the templates available for the organization",
|
||||
Aliases: []string{"ls"},
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
client, err := createClient(cmd)
|
||||
|
||||
Reference in New Issue
Block a user