mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
feat(cli): preserve table column order (#16843)
Fixes: https://github.com/coder/coder/issues/16055
This commit is contained in:
@ -36,7 +36,7 @@ func (r *RootCmd) provisionerList() *serpent.Command {
|
||||
client = new(codersdk.Client)
|
||||
orgContext = NewOrganizationContext()
|
||||
formatter = cliui.NewOutputFormatter(
|
||||
cliui.TableFormat([]provisionerDaemonRow{}, []string{"name", "organization", "status", "key name", "created at", "last seen at", "version", "tags"}),
|
||||
cliui.TableFormat([]provisionerDaemonRow{}, []string{"created at", "last seen at", "key name", "name", "version", "status", "tags"}),
|
||||
cliui.JSONFormat(),
|
||||
)
|
||||
limit int64
|
||||
|
Reference in New Issue
Block a user