Skip to content

feat: support all OtterWise CLI arguments#2

Merged
LasseRafn merged 1 commit intogetOtterWise:mainfrom
Nighthawk14:feat/support-cli-args
Feb 18, 2026
Merged

feat: support all OtterWise CLI arguments#2
LasseRafn merged 1 commit intogetOtterWise:mainfrom
Nighthawk14:feat/support-cli-args

Conversation

@Nighthawk14
Copy link
Copy Markdown
Contributor

Summary

  • Add 8 new inputs: org-token, mutation-file, log-file, quiet, fail-on-errors, flag, base-dir, endpoint
  • Make token optional — either token or org-token must be provided
  • Update README with full inputs table and usage examples

Test plan

  • Verify action runs with token only
  • Verify action runs with org-token only
  • Verify action fails when neither token is provided
  • Verify boolean flags (quiet, fail-on-errors) only append when true
  • Verify string inputs only append when non-empty

🤖 Generated with Claude Code

Add org-token, mutation-file, log-file, quiet, fail-on-errors, flag,
base-dir, and endpoint inputs. Make token optional with validation
requiring at least one of token or org-token.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Nighthawk14
Copy link
Copy Markdown
Contributor Author

Hello @LasseRafn 👋🏻 .

We were using the github action in our CI and we now need the flag argument to be passed to the CLI script. So rather than downloading it directly I thought about opening a PR here to support the other CLI flags.

Let me know what you think and can update.
Thanks!

@LasseRafn
Copy link
Copy Markdown
Contributor

Hi @Nighthawk14 ! awesome addition, I will get this reviewed and merged right away. Much appreciated.

Please do bring any feedback on flags you might have as well as if you have any particular way you use it :)

@LasseRafn LasseRafn merged commit c21111d into getOtterWise:main Feb 18, 2026
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.

2 participants