Commit graph

6 commits

Author SHA1 Message Date
e55cff15ee Rename 'script' to 'command' with intelligent path resolution
- Rename script argument to command throughout codebase
- Add resolve_command() function for smart path/command handling
- Paths (containing /, ~, or .) are expanded to absolute paths and validated
- Commands (no /) are searched on $PATH and kept as-is in plist
- Add comprehensive test suite with 13 new tests for path resolution
- Verify all resolved paths stay within expected boundaries
- Update README with command resolution details and examples

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 10:25:07 -08:00
5b78165e33 Rework edit command to open plist in $EDITOR
Instead of a CLI for editing plist arguments programmatically, the edit
command now opens the plist file directly in the user's $EDITOR (falls
back to vi). This provides more flexibility for editing any plist field.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 09:02:48 -08:00
5934ba6702 Fix url, using forgejo now 2026-01-12 16:48:17 -08:00
34e63c41c4 Add quack easter egg and development docs
Add a hidden 'quack' command that displays DuckTales ASCII art of
Launchpad McQuack. Also document the development workflow in README,
including how to run tests with uv and the optional venv setup.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 20:09:07 -08:00
c601514e3d Add tests and docs for '--' argument separator requirement
- Add TestArgumentSeparator class with 8 tests verifying that script
  arguments must come after '--' separator
- Update create and edit command docstrings with examples showing
  correct usage of '--' separator
- Update argument help text to indicate "(must come after '--')"
- Add "Passing Arguments to Your Script" section to README

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 19:45:54 -08:00
0bcb1b8785 Initial commit 2026-01-11 18:22:16 -08:00