Skip to content

Rename --script flag to --sh and use sh from PATH#36

Merged
ammario merged 3 commits intomainfrom
blink/rename-script-to-sh
Sep 12, 2025
Merged

Rename --script flag to --sh and use sh from PATH#36
ammario merged 3 commits intomainfrom
blink/rename-script-to-sh

Conversation

@blink-so
Copy link
Copy Markdown
Contributor

@blink-so blink-so Bot commented Sep 12, 2025

This PR renames the --script flag to --sh and removes the -s shorthand for consistency with the --js and --js-file flags.

Changes

  • Flag rename: --script--sh with no shorthand (consistent with --js and --js-file)
  • Shell execution: Use sh from PATH instead of $SHELL environment variable
  • Documentation: Updated README and help text to reflect flag changes
  • Conflicts: Updated conflicts_with clauses in clap arguments

Testing

✅ All unit tests pass
✅ All script integration tests pass
✅ Manual testing of flag functionality confirmed
✅ Conflict testing between --sh and --js flags verified
✅ All CI checks passing

blink-so Bot and others added 2 commits September 12, 2025 14:17
- Rename --script flag to --sh for consistency with other flags
- Remove -s shorthand to match --js and --js-file (no shorthand)
- Change shell execution to use 'sh' from PATH instead of $SHELL
- Update all documentation and help text
- Update conflicts_with clauses in clap args

Co-authored-by: ammario <7416144+ammario@users.noreply.github.com>
Co-authored-by: ammario <7416144+ammario@users.noreply.github.com>
@ammario ammario marked this pull request as ready for review September 12, 2025 14:33
@ammario ammario merged commit ae9a556 into main Sep 12, 2025
7 checks passed
@ammario ammario deleted the blink/rename-script-to-sh branch September 12, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant