feat: justfile task runner and updated install/setup documentation
justfile with build/install/uninstall/test targets. CLAUDE.md updated with new install path and commands. status-line-setup.md updated for %LOCALAPPDATA%\ctask\bin location. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,33 +4,44 @@
|
||||
|
||||
ctask includes helper scripts that display task context in Claude Code's status line.
|
||||
|
||||
### Prerequisites
|
||||
|
||||
Run `scripts/install.ps1` (or `just install`) first. This places the helper scripts at:
|
||||
|
||||
- Windows: `%LOCALAPPDATA%\ctask\bin\ctask-statusline.sh`
|
||||
- Unix: copy `scripts/ctask-statusline.sh` to `~/.local/bin/`
|
||||
|
||||
### Setup
|
||||
|
||||
Add one of the following to your `~/.claude/settings.json`:
|
||||
Add the following to your `~/.claude/settings.json`:
|
||||
|
||||
**Linux / macOS (bash):**
|
||||
**Windows (after install):**
|
||||
|
||||
```json
|
||||
{
|
||||
"statusLine": {
|
||||
"type": "command",
|
||||
"command": "bash /path/to/ctask-statusline.sh"
|
||||
"command": "bash /c/Users/<you>/AppData/Local/ctask/bin/ctask-statusline.sh"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
**Windows (PowerShell):**
|
||||
Replace `<you>` with your Windows username.
|
||||
|
||||
**Linux / macOS:**
|
||||
|
||||
```json
|
||||
{
|
||||
"statusLine": {
|
||||
"type": "command",
|
||||
"command": "powershell -NoProfile -File C:\\path\\to\\ctask-statusline.ps1"
|
||||
"command": "bash ~/.local/bin/ctask-statusline.sh"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Replace `/path/to/` with the actual location of the script.
|
||||
### Verify
|
||||
|
||||
Run `ctask doctor` to check that the status line is configured correctly.
|
||||
|
||||
### Output
|
||||
|
||||
|
||||
Reference in New Issue
Block a user