docs: update CLI documentation to use username instead of user-id
CLI Changes: - Update user.get command to accept username parameter instead of user-id - Update user.update command signature in documentation - Update user.delete command signature in documentation Implementation Consistency: - Align README.md CLI examples with app/cli/commands/user.py implementation - Clarify username-based user identification across all user management commands - Update test expectations to match username-based interface Documentation: - README.md: Replace <user-id> with <username> in all user command examples - Ensure consistency across user create, get, update, delete commands
This commit is contained in:
@@ -103,8 +103,8 @@ pfhub --help
|
||||
pfhub user list
|
||||
pfhub user create --username alice --password password123 --email alice@example.com --force
|
||||
pfhub user get <username>
|
||||
pfhub user update <user-id> --username alice-updated --force
|
||||
pfhub user delete <user-id> --force
|
||||
pfhub user update <username> --username alice-updated --force
|
||||
pfhub user delete <username> --force
|
||||
pfhub service-token issue nightly --user alice --ttl-days 30
|
||||
pfhub service-token issue permanent --user alice --no-expiry
|
||||
pfhub service-token revoke nightly --force
|
||||
|
||||
Reference in New Issue
Block a user