feat(cli): Add -p shortcut and improve create command help text
Implemented Kimi's feedback suggestions: 1. Added -p shortcut for --preset flag - Makes presets easier to use: -p quick, -p standard, -p comprehensive - Updated create arguments to include "-p" in flags tuple 2. Improved help text formatting - Simplified description to avoid excessive wrapping - Made examples more concise and scannable - Custom NoWrapFormatter for better readability - Reduced verbosity while maintaining clarity Changes: - arguments/create.py: Added "-p" to preset flags - create_command.py: Updated epilog with NoWrapFormatter - parsers/create_parser.py: Simplified description, override register() User Impact: - Faster preset usage: "skill-seekers create <src> -p quick" - Cleaner help output - Better UX for frequently-used preset flag Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -96,7 +96,7 @@ UNIVERSAL_ARGUMENTS: Dict[str, Dict[str, Any]] = {
|
||||
# Note: RAG arguments are merged into UNIVERSAL_ARGUMENTS at runtime
|
||||
# Preset system
|
||||
"preset": {
|
||||
"flags": ("--preset",),
|
||||
"flags": ("--preset", "-p"),
|
||||
"kwargs": {
|
||||
"type": str,
|
||||
"choices": ["quick", "standard", "comprehensive"],
|
||||
|
||||
Reference in New Issue
Block a user