Remove the partial edit-privs -p flags for more human-friendly arguments #170

Closed
opened 2025-12-13 16:45:16 +01:00 by oysteikt · 0 comments
Owner

The -p flags are really neat for editing privs in batch. But they are not particularly friendly to write. The current "solution" to this is to let you specify the database first, and some minified flags.

How about we instead let you edit privs with arguments only as the human-friendly way, and full -p flags only for the batch friendly way?

muscl edit-privs # opens the editor
muscl edit-privs -p db:user:privs -p db:user:privs # batch
muscl editprivs db user privs # human friendly
The `-p` flags are really neat for editing privs in batch. But they are not particularly friendly to write. The current "solution" to this is to let you specify the database first, and some minified flags. How about we instead let you edit privs with arguments only as the human-friendly way, and full `-p` flags only for the batch friendly way? ```bash muscl edit-privs # opens the editor muscl edit-privs -p db:user:privs -p db:user:privs # batch muscl editprivs db user privs # human friendly ```
oysteikt added this to the Initial release milestone 2025-12-13 16:45:16 +01:00
oysteikt added the ui/ux label 2025-12-13 16:45:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Projects/muscl#170