Skip to content

Commit

Permalink
add consistent aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
Flaque committed Nov 26, 2024
1 parent 671c8d8 commit 403c238
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/clusters/clusters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export function registerClusters(program: Command) {

const users = clusters
.command("users")
.alias("user")
.description("Manage cluster users");

users
Expand All @@ -58,6 +59,7 @@ export function registerClusters(program: Command) {

users
.command("rm <id>")
.alias("remove")
.description("Remove a user from a cluster")
.option("--json", "Output in JSON format")
.option("--token <token>", "API token")
Expand All @@ -70,6 +72,7 @@ export function registerClusters(program: Command) {

users
.command("list")
.alias("ls")
.description("List users in a cluster")
.option("--token <token>", "API token")
.action(async (options) => {
Expand Down

0 comments on commit 403c238

Please sign in to comment.