syntaxis/scripts/syntaxis-cli-lib.nu
Jesús Pérez 9cef9b8d57 refactor: consolidate configuration directories
Merge _configs/ into config/ for single configuration directory.
Update all path references.

Changes:
- Move _configs/* to config/
- Update .gitignore for new patterns
- No code references to _configs/ found

Impact: -1 root directory (layout_conventions.md compliance)
2025-12-26 18:36:23 +00:00

33 lines
1.5 KiB
Plaintext

def cli_usage [] {
let cli_name = ($env | get -o RUN_NAME)
print "USAGE:"
print $" (ansi blue)($cli_name)(ansi reset) <COMMAND> [OPTIONS]"
print ""
print "COMMANDS:"
print " init Initialize a new project"
print " status Show project status"
print " phase Manage project phases"
print " tool Manage tools"
print " checklist Manage checklists"
print " security Security management"
print " config Show configuration"
print " export Export project data"
print " import Import project data"
print ""
print "OPTIONS (Global):"
print " -v, --verbose Show verbose output"
print " -p, --project <NAME> Project name (auto-detected if omitted)"
print " --config <PATH> Configuration file path (overrides auto-discovery)"
print " --remote Use remote API instead of local database"
print " --api-url <URL> API server base URL (default: http://localhost:3000)"
print ""
print "EXAMPLES:"
print $" ($cli_name) init . # Initialize project in current directory"
print $" ($cli_name) status # Show project status"
print $" ($cli_name) phase current # Show current phase"
print ""
print "For more info:"
print $" ($cli_name) --help # Show complete help"
print $" ($cli_name) <COMMAND> --help # Show command-specific help"
}