Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

carapace-spec

The carapace-spec skill creates/modifies Spec files.

Instructions

  1. start crush in an empty directory
  2. ctrl+p, TAB, then select the skill
  3. run with
    • create (runnable) spec ...
    • add completions to spec <name>

Result

# yaml-language-server: $schema=https://carapace.sh/schemas/command.json
name: summarize
description: Summarize the difference between two git refs
run: "$(crush run \"Summarize the difference between git refs ${C_ARG0} and ${C_ARG1}\")"
completion:
  positional:
    - ["$carapace.tools.git.Refs"]
    - ["$carapace.tools.git.Refs"]