mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
feat: Add "projects list" command to the CLI (#333)
This adds a WorkspaceOwnerCount parameter returned from the projects API. It's helpful to display the amount of usage a specific project has.
This commit is contained in:
@ -30,9 +30,12 @@ func projects() *cobra.Command {
|
||||
|
||||
` + color.New(color.FgHiMagenta).Sprint("$ coder projects update <name>"),
|
||||
}
|
||||
cmd.AddCommand(projectCreate())
|
||||
cmd.AddCommand(projectPlan())
|
||||
cmd.AddCommand(projectUpdate())
|
||||
cmd.AddCommand(
|
||||
projectCreate(),
|
||||
projectList(),
|
||||
projectPlan(),
|
||||
projectUpdate(),
|
||||
)
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
Reference in New Issue
Block a user