Allow passing arguments into Recaf
- Dominant language
- Java
- Stars
- 193
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
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 `jar` path as an argument should pass that path as an input/workspace to Recaf when launched
- A single `java` source file path as an argument should pass that path as a script to Recaf when launched
- For the CLI
- The `run` and `auto` commands should have new `--input` and `--script` arguments for passing along to Recaf when launched
See: [`LaunchCommand`](https://github.com/Col-E/Recaf/blob/0dfe2b876a6c86be4ef5c1445fe658b43e9aac13/recaf-core/src/main/java/software/coley/recaf/launch/LaunchCommand.java)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.