nighthawk 0.2.0

AI terminal autocomplete — zero config, zero login, zero telemetry
Documentation
{
  "name": "mdfind",
  "description": "Finds files matching a given query",
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Show help for mdfind"
    },
    {
      "names": [
        "-0"
      ],
      "description": "Prints an ASCII NUL character after each result path"
    },
    {
      "names": [
        "-live"
      ],
      "description": "Provide live-updates to the number of files matching the query"
    },
    {
      "names": [
        "-count"
      ],
      "description": "Output the total number of matches, instead of the path to the matching items"
    },
    {
      "names": [
        "-onlyin"
      ],
      "description": "Limit the scope of the search to <dir>",
      "takes_arg": true,
      "arg": {
        "name": "dir",
        "description": "Directory",
        "template": "folders"
      }
    },
    {
      "names": [
        "-name"
      ],
      "description": "Search for matching file names to <filename> only",
      "takes_arg": true,
      "arg": {
        "name": "filename"
      }
    },
    {
      "names": [
        "-reprint"
      ],
      "description": "Reprint results on live update"
    },
    {
      "names": [
        "-s"
      ],
      "description": "Show contents of smart folder ~/Library/Saved Searches/<folder>.savedSearch",
      "takes_arg": true,
      "arg": {
        "name": "folder",
        "description": "Smart folder in  ~/Library/Saved Searches"
      }
    },
    {
      "names": [
        "-literal"
      ],
      "description": "Force the provided query string to be taken as a literal query string, without interpretation"
    },
    {
      "names": [
        "-interpret"
      ],
      "description": "Force the provided query string to be interpreted as if it had been typed into the Spotlight menu"
    }
  ],
  "args": [
    {
      "name": "query"
    }
  ]
}