Files
ctask/scripts/ctask-statusline.sh
T
typebasedio 8e930c6b7a feat: status line helper scripts and setup documentation
Bash and PowerShell helpers for Claude Code statusLine. Setup docs with fallback note for non-Claude agents.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 18:35:42 -04:00

10 lines
329 B
Bash

#!/usr/bin/env bash
# ctask status line helper for Claude Code
# Reads ctask environment variables and prints a formatted context string.
# Output: (ctask:<slug>|<mode>) <workspace_path>
# Outputs nothing when not in a ctask session.
[ -z "$CTASK_TASK" ] && exit 0
echo "(ctask:${CTASK_TASK}|${CTASK_MODE}) ${CTASK_WORKSPACE}"