flyctl
flyctl copied to clipboard
Auth token inconsistent syntax
To create a token I have to do this:
flyctl tokens create org --org <orgname>
But with the same syntax can't list them, as --org is not supported here for some reason:
$ fly tokens list org --org zoopets
Error: unknown flag: --org
To list them I have to use another obscure flag -s:
fly tokens list -s org
Then, -s is not supported for fly tokens revoke:
$ fly tokens revoke -s org
Error: unknown shorthand flag: 's' in -s
Also, fly tokens revoke is missing an interactive token selector, so one has to copy-paste the id.