nighthawk 0.2.0

AI terminal autocomplete — zero config, zero login, zero telemetry
Documentation
{
  "name": "shortcuts",
  "description": "Command-line utility for running shortcuts",
  "subcommands": [
    {
      "name": "run",
      "description": "Run a shortcut",
      "options": [
        {
          "names": [
            "-i",
            "--input-path"
          ],
          "description": "The input to provide to the shortcut",
          "takes_arg": true,
          "arg": {
            "name": "input-path",
            "template": "filepaths"
          }
        },
        {
          "names": [
            "-o",
            "--output-path"
          ],
          "description": "Where to write the shortcut output, if applicable",
          "takes_arg": true,
          "arg": {
            "name": "output-path",
            "template": "filepaths"
          }
        },
        {
          "names": [
            "--output-type"
          ],
          "description": "What type to output data in, in Universal Type Identifier format",
          "takes_arg": true,
          "arg": {
            "name": "output-type",
            "suggestions": [
              "public.json",
              "public.plain-text",
              "public.html",
              "public.xml",
              "com.adobe.pdf",
              "public.vcard"
            ]
          }
        }
      ],
      "args": [
        {
          "name": "shortcut-name",
          "description": "The name of the shortcut to run"
        }
      ]
    },
    {
      "name": "list",
      "description": "List your shortcuts",
      "options": [
        {
          "names": [
            "--folder-name",
            "-f"
          ],
          "description": "The name of the folder to list",
          "takes_arg": true,
          "arg": {
            "name": "folder-name"
          }
        },
        {
          "names": [
            "--folders"
          ],
          "description": "List folders instead of shortcuts"
        }
      ]
    },
    {
      "name": "view",
      "description": "View a shortcut in Shortcuts",
      "args": [
        {
          "name": "shortcut-name",
          "description": "The name of the shortcut to view"
        }
      ]
    },
    {
      "name": "sign",
      "description": "Sign a shortcut file",
      "options": [
        {
          "names": [
            "--input",
            "-i"
          ],
          "description": "The shortcut file to sign",
          "takes_arg": true,
          "arg": {
            "name": "input"
          }
        },
        {
          "names": [
            "--output",
            "-o"
          ],
          "description": "Output path for the signed shortcut file",
          "takes_arg": true,
          "arg": {
            "name": "output",
            "template": "filepaths"
          }
        },
        {
          "names": [
            "--mode",
            "-m"
          ],
          "description": "The signing mode. (default: people-who-know-me)",
          "takes_arg": true,
          "arg": {
            "name": "mode",
            "suggestions": [
              "people-who-know-me",
              "anyone"
            ]
          }
        }
      ]
    },
    {
      "name": "help",
      "description": "Show help information",
      "subcommands": [
        {
          "name": "run",
          "description": "Run a shortcut"
        },
        {
          "name": "list",
          "description": "List your shortcuts"
        },
        {
          "name": "view",
          "description": "View a shortcut in Shortcuts"
        },
        {
          "name": "sign",
          "description": "Sign a shortcut file"
        }
      ]
    }
  ]
}