huntr-cli 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -0
- package/dist/cli.js +312 -357
- package/dist/cli.js.map +4 -4
- package/package.json +1 -1
- package/src/cli.ts +394 -217
package/README.md
CHANGED
|
@@ -14,6 +14,7 @@ A command-line interface for managing your Huntr job search board. Track activit
|
|
|
14
14
|
- 🎯 **Your board only** — Personal user API (not organization-scoped)
|
|
15
15
|
- 🔒 **Secure storage** — Session data stored in macOS Keychain
|
|
16
16
|
- ⚡ **Fast** — No copy-paste token juggling, session persists for weeks
|
|
17
|
+
- 🐚 **Shell completions** — Tab completion for bash, zsh, and fish
|
|
17
18
|
|
|
18
19
|
## Installation
|
|
19
20
|
|
|
@@ -242,6 +243,28 @@ Export last 7 days as CSV:
|
|
|
242
243
|
huntr activities week-csv <board-id> > activities.csv
|
|
243
244
|
```
|
|
244
245
|
|
|
246
|
+
### Shell Completions
|
|
247
|
+
|
|
248
|
+
Generate and install tab completion for your shell:
|
|
249
|
+
|
|
250
|
+
```bash
|
|
251
|
+
# bash — add to ~/.bash_completion or source from ~/.bashrc
|
|
252
|
+
huntr completions bash >> ~/.bash_completion
|
|
253
|
+
source ~/.bash_completion
|
|
254
|
+
|
|
255
|
+
# zsh — save to a completions directory in your fpath
|
|
256
|
+
mkdir -p ~/.zsh/completions
|
|
257
|
+
huntr completions zsh > ~/.zsh/completions/_huntr
|
|
258
|
+
# Add to ~/.zshrc if not already present:
|
|
259
|
+
# fpath=(~/.zsh/completions $fpath)
|
|
260
|
+
# autoload -Uz compinit && compinit
|
|
261
|
+
|
|
262
|
+
# fish
|
|
263
|
+
huntr completions fish > ~/.config/fish/completions/huntr.fish
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
Once installed, tab-completing `huntr <tab>` will show all subcommands, and `huntr config <tab>`, `huntr boards <tab>`, etc. will show their respective subcommands.
|
|
267
|
+
|
|
245
268
|
### Global Options
|
|
246
269
|
|
|
247
270
|
- `-t, --token <token>` — Specify API token (overrides all other sources)
|