Skip to content

Pass the rewrite subcommand from the action and the skill - #31

Open
menes97 wants to merge 1 commit into
nullean:mainfrom
menes97:fix/action-rewrite-subcommand
Open

menes97 wants to merge 1 commit into
nullean:mainfrom
menes97:fix/action-rewrite-subcommand

Conversation

@menes97

@menes97 menes97 commented Nov 11, 2026

Copy link
Copy Markdown

Fixes #30

action.yml passed args straight to assembly-rewriter, so the action ran assembly-rewriter -i … -o …. The tool then prints "unknown short option" before the root alias falls back to rewrite. The packaged SKILL.md showed the same bare invocation.

  • action.yml: passes rewrite as the first container argument, the way the assembly-differ action passes diff. The args input description says that args goes after rewrite.
  • SKILL.md: the four examples use assembly-rewriter rewrite …, matching the README.
  • README: the GitHub Action section says the action runs assembly-rewriter rewrite <args>.

The uses: example and the args users pass are unchanged.

I couldn't run the action itself here; the change follows the existing diff pattern in assembly-differ's action.yml.

🤖 Generated with Claude Code

action.yml passed args straight to assembly-rewriter, and the packaged
SKILL.md showed the same bare call. Without the subcommand the tool
prints "unknown short option" before falling back to rewrite. The
action now passes rewrite before the arguments, as the assembly-differ
action passes diff, and the skill and README use it too.

Fixes nullean#30

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

GitHub Action passes args without the rewrite subcommand

1 participant