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:
Julian Tabel
2026-02-25 16:58:25 +01:00
parent 1d0404cd36
commit 3a84335cda
4 changed files with 608 additions and 23 deletions

View File

@@ -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