Add interactive mode with menu-driven resource editing
Running with no flags launches an interactive menu powered by @inquirer/prompts. Supports chaining multiple actions (max resources, set crafted, geology, time) before saving once to clipboard. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
12
README.md
12
README.md
@@ -12,7 +12,17 @@ npm install
|
||||
|
||||
## Usage
|
||||
|
||||
The tool reads save data from your **clipboard** by default (or from stdin/argument), applies edits, and copies the result back to the clipboard.
|
||||
### Interactive mode
|
||||
|
||||
Run with no flags to launch an interactive menu. It reads your save from the clipboard, lets you pick actions and select individual resources, then copies the result back.
|
||||
|
||||
```bash
|
||||
node index.js
|
||||
```
|
||||
|
||||
### CLI mode
|
||||
|
||||
Pass flags for non-interactive, scriptable usage. Reads save data from your **clipboard** by default (or from stdin/argument), applies edits, and copies the result back.
|
||||
|
||||
```bash
|
||||
# List all resources and their current values
|
||||
|
||||
Reference in New Issue
Block a user