Skip to content

chore/cli: migrate users to urfave/cli#1317

Open
burmudar wants to merge 2 commits intomainfrom
wb/migrate-users
Open

chore/cli: migrate users to urfave/cli#1317
burmudar wants to merge 2 commits intomainfrom
wb/migrate-users

Conversation

@burmudar
Copy link
Copy Markdown
Contributor

@burmudar burmudar commented May 8, 2026

The command migration is moving legacy commander commands onto urfave/cli so they share the same help, flag, and dispatch behavior as newly migrated commands.

Migrate src users and its list, get, create, delete, prune, and tag subcommands to cli.Command definitions. Register both users and user in the migrated command map, and remove users from the legacy docs path so generated docs come from the migrated root command.

Test Plan

  • go test ./cmd/src
  • go test ./...
  • go run ./cmd/src users -h
  • go run ./cmd/src user -h
  • go run ./cmd/src users list -h

Copy link
Copy Markdown
Member

@keegancsmith keegancsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big PR that looks super mechanical. So trusting ya tested everything still works :D

Very minor but I ran ./dev/smoke.sh and it worked which is good :)

@burmudar burmudar force-pushed the wb/migrate-users branch from 1a1bb81 to 58bb98e Compare May 8, 2026 12:43
The command migration is moving legacy commander commands onto urfave/cli so they share the same help, flag, and dispatch behavior as newly migrated commands.

Migrate src users and its list, get, create, delete, prune, and tag subcommands to cli.Command definitions. Register both users and user in the migrated command map, and remove users from the legacy docs path so generated docs come from the migrated root command.

Test Plan:
- go test ./cmd/src
- go test ./...
- go run ./cmd/src users -h
- go run ./cmd/src user -h
- go run ./cmd/src users list -h
@burmudar burmudar force-pushed the wb/migrate-users branch from 58bb98e to cc75989 Compare May 8, 2026 12:44
@burmudar burmudar self-assigned this May 8, 2026
@burmudar burmudar enabled auto-merge (squash) May 8, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants