Skip to content

CLI-first toolkit with standalone onyx-cli and from-audio - #300

Draft
MaatheusGois wants to merge 2 commits into
mtolly:masterfrom
MaatheusGois:maatheusgois-dd/cli-first
Draft

MaatheusGois wants to merge 2 commits into
mtolly:masterfrom
MaatheusGois:maatheusgois-dd/cli-first

Conversation

@MaatheusGois

Copy link
Copy Markdown

Summary

  • Make the command line the default when running onyx with no arguments; launch the GUI via onyx gui or onyx open
  • Add a standalone onyx-cli stack package for headless builds without FLTK/GUI dependencies
  • Add a from-audio command to create Clone Hero (.zip) or GH Warriors of Rock packages from a single audio file
  • Add scripts/gh-from-audio.sh as a thin wrapper around onyx-cli from-audio
  • Document the CLI workflow in haskell/CLI.md, with links from BUILD.md and README.md

Test plan

  • cd haskell && ./stack-local build onyx-cli succeeds on macOS/Linux/Windows
  • onyx-cli with no args prints help
  • onyx-cli from-audio test.wav --to out.zip produces a Clone Hero zip with song.ini, notes.chart, and audio
  • onyx gui still launches the graphical toolkit
  • ./scripts/gh-from-audio.sh test.wav --to out.zip delegates to onyx-cli from-audio

Made with Cursor

MaatheusGois and others added 2 commits July 3, 2026 18:11
Launch the GUI only via `onyx gui` or `onyx open`, add a `from-audio`
command for Clone Hero/GH5 output, and register the headless onyx-cli
executable as its own stack package.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add CLI.md, link it from the Haskell README and BUILD guide, and note the
changes in CHANGES.md.

Co-authored-by: Cursor <cursoragent@cursor.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.

1 participant