Skip to content

fix: correct Claude Code CLI syntax in all references#14

Merged
stabem merged 1 commit intomainfrom
fix/claude-cli-syntax
Apr 3, 2026
Merged

fix: correct Claude Code CLI syntax in all references#14
stabem merged 1 commit intomainfrom
fix/claude-cli-syntax

Conversation

@stabem
Copy link
Copy Markdown
Owner

@stabem stabem commented Apr 3, 2026

Problem

All references to Claude Code CLI used claude --print --prompt which is invalid syntax. The CLI uses -p for print mode and the prompt is a positional argument.

Changes

  • workflow.yaml: 5 references updated
  • README.md: 3 references updated

Before: claude --print --prompt "/plan ..."
After: claude -p --permission-mode bypassPermissions "/plan ..."

Validation

claude --help confirms: -p, --print flag + positional prompt argument.

Claude Code CLI uses -p (not --print --prompt) for non-interactive mode.
The prompt is a positional argument, not a --prompt flag.
Also adds --permission-mode bypassPermissions for automated pipelines.

Before: claude --print --prompt "/plan ..."
After:  claude -p --permission-mode bypassPermissions "/plan ..."

Updated 5 references in workflow.yaml and 3 in README.md.
@stabem stabem merged commit c0c8717 into main Apr 3, 2026
@stabem stabem deleted the fix/claude-cli-syntax branch April 3, 2026 11:38
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