Recaf-Launcher
Recaf-Launcher copied to clipboard
Allow passing arguments into Recaf
Currently the Recaf process is started with no arguments, but we'll want to allow specifying content like:
- Files to open as workspaces
- Scripts to run
Also, we should support VM arguments in addition to just Recaf arguments.
Usage:
- For the GUI
- A single
jarpath as an argument should pass that path as an input/workspace to Recaf when launched - A single
javasource file path as an argument should pass that path as a script to Recaf when launched
- A single
- For the CLI
- The
runandautocommands should have new--inputand--scriptarguments for passing along to Recaf when launched
- The
See: LaunchCommand
Idea for UI:
- New grouped section
- VM Arguments: Empty by default, later will want to point to user-documentation page on launch arguments for JVM
- Recaf Arguments: Empty by default, later will want to point to user-documentation page on Recaf's arguments
Idea for CLI:
-
--vmargs "string of args" -
--reargs "string of args"