clyops Node API
    Preparing search index...

    Function expandCommands

    • A program's commands (spec section 1.7) as tools of their own, one per command without commands: words [...cmd.words, 'db', 'migrate'], and a schema with the command's options followed by those it inherits, the nearest declared effects, stdin and stdout, and every relationship and required command along the way. A program without commands is one tool.

      Parameters

      Returns Tool[]