vibe-action 0.2.2

Command router — execute shell commands and LLM prompts via simple YAML actions.
version: 0.0.1

name: mock
about: Generate realistic mock data arrays (JSON, YAML, CSV) for testing

args:
  - name: format
    short: 'f'
    input: string
    default: json
    help: 'Output format: json, yaml, csv (default: json)'

# IDE plugin integration: maps argument names to IDE contexts
api:
  # Target for the final result (replace | clipboard | dialog)
  output: dialog
  # Source for the {query} tag
  input: query|prompt

actions:
  # LLM generates structured mock data in the requested format
  - tag: tag_mock
    run: small
    expect: string
    action: |
      [Task]
      Generate a realistic mock data array based on the user's [Query].
      Format the output strictly as valid raw {format} data.

      [Example]
      ```{format}
      <code>
      ```

      [Query]
      {query|prompt}

  # Copy result to clipboard and output
  - tag: tag_clipboard
    run: value
    expect: string
    action: '{tag_mock|clipboard}'