-
Notifications
You must be signed in to change notification settings - Fork 1
[jtk] Align init and config UX with cfl #53
Copy link
Copy link
Closed
Description
Summary
Align jtk's init and config commands with cfl's UX patterns for consistency across the Atlassian CLI tools.
Changes Required
init command
- Use
huhlibrary for styled interactive forms (currently uses rawbufioprompts) - Add optional default project field - similar to cfl's default space
- Reuse existing config values when re-running init (pre-populate form with current values so user can selectively change them)
config subcommands
- Remove
config set- users should useinitto change values (init will reuse existing) - Add
--forceflag toconfig clear- require confirmation by default (like cfl) - Consistent token masking - use
abcd****wxyzformat instead ofabcd...wxyz
Keep as-is
config testoutput showing authenticated user details (this is better than cfl's simple "success!" message)
TLDR
Remove config set, add confirmation to config clear, upgrade init to use huh forms with default project option, and reuse existing config values on re-init.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels