@scriptless/ilo-cli
v0.1.10
Published
> A TypeScript CLI for interactive commands and background task automation
Readme
ilo
A TypeScript CLI for interactive commands and background task automation
Install
npm install --global @scriptless/ilo-cliUsage
Run ilo with no arguments to see available commands:
iloConfiguration
Configuration is stored at:
- macOS/Linux:
~/.config/ilo/config.json
Each command has its own namespaced config section.
Troubleshooting
Shift+arrow keys not working (macOS Terminal)
If Shift+arrow keys don't work in interactive commands, you need to configure Terminal to send the proper escape sequences:
- Open Terminal → Preferences → Profiles → Keyboard
- Click the
+button to add new key mappings - Add these mappings:
- Key: Shift+Up arrow, Action:
\033[1;2A - Key: Shift+Down arrow, Action:
\033[1;2B - Key: Shift+Return, Action:
\033[13;2u
- Key: Shift+Up arrow, Action:
After adding these, Shift+arrow and Shift+Enter will work as expected in interactive commands.
Development
Building
pnpm buildTesting Locally
node dist/cli.js [command]Or link globally:
pnpm link --global
ilo [command]Config Migrations
Config schema migrations are tied to the package version in package.json.
Important: Since patch versions are auto-published on push to main, only add migrations for major or minor version bumps where you intentionally change the config structure.
See src/config/store.ts for the migration setup and template.
