feat!: add table format to 'coder license ls', 'license_expires' --> 'license_expires_human' (#8421)

* feat: add table format to 'coder license ls'
* feat: license expires_at to table view
* change: `license_expires` to `license_expires_human` and `license_expires` is unix timestamp
This commit is contained in:
Steven Masley
2023-07-12 08:06:18 -04:00
committed by GitHub
parent 2c2dd0eb83
commit 928091aa05
6 changed files with 159 additions and 47 deletions
+9 -1
View File
@@ -1,8 +1,16 @@
Usage: coder licenses list
Usage: coder licenses list [flags]
List licenses (including expired)
Aliases: ls
Options
-c, --column string-array (default: UUID,Expires At,Uploaded At,Features)
Columns to display in table output. Available columns: id, uuid,
uploaded at, features, expires at, trial.
-o, --output string (default: table)
Output format. Available formats: table, json.
---
Run `coder --help` for a list of global options.