runSkillCli function

Future<int> runSkillCli(
  1. List<String> args
)

CLI adapter for fdb skill. Prints the SKILL.md contents to stdout.

Output contract: SKILL.md found → stdout: full file contents (no trailing newline added), exit 0 SKILL.md missing → stderr: ERROR: SKILL.md not found, exit 1

Implementation

Future<int> runSkillCli(List<String> args) => runSimpleCliAdapter(
      args,
      _execute,
      helpText: 'Usage: fdb skill\n\nPrints the AI agent skill file (SKILL.md) to stdout.',
    );