nighthawk 0.2.0

AI terminal autocomplete — zero config, zero login, zero telemetry
Documentation
{
  "name": "planter",
  "subcommands": [
    {
      "name": "create",
      "description": "Create a new project using a planter or public repo",
      "options": [
        {
          "names": [
            "-f",
            "--force"
          ],
          "description": "Force the created directory to overwrite an existing one"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for command"
        }
      ],
      "args": [
        {
          "name": "source",
          "description": "The name of a planter or a public repo"
        },
        {
          "name": "dir",
          "description": "Directory of the new project"
        }
      ]
    },
    {
      "name": "list",
      "description": "List available planters",
      "options": [
        {
          "names": [
            "-a",
            "--alphanumeric"
          ],
          "description": "Sorts list of planters alphanumerically"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for command"
        }
      ]
    },
    {
      "name": "add",
      "description": "Add a planter to your list",
      "options": [
        {
          "names": [
            "-L",
            "--local"
          ],
          "description": "Treat the location as a local repo instead of a remote repo"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for command"
        }
      ],
      "args": [
        {
          "name": "name",
          "description": "Name of the planter to use as a reference"
        },
        {
          "name": "location",
          "description": "The repo URL or name"
        }
      ]
    },
    {
      "name": "edit",
      "description": "Edit a planter in your list",
      "options": [
        {
          "names": [
            "-n",
            "--name"
          ],
          "description": "Edit the name of a planter",
          "takes_arg": true,
          "arg": {
            "name": "new-name"
          }
        },
        {
          "names": [
            "-l",
            "--location"
          ],
          "description": "Edit the location of a planter",
          "takes_arg": true,
          "arg": {
            "name": "location"
          }
        },
        {
          "names": [
            "-d",
            "--delete"
          ],
          "description": "Remove a planter from your list"
        },
        {
          "names": [
            "-f",
            "--force"
          ],
          "description": "Edit something... dangerously. (Force the edit without any prompts.)"
        },
        {
          "names": [
            "-R",
            "--remote"
          ],
          "description": "Set the location type to remote"
        },
        {
          "names": [
            "-L",
            "--local"
          ],
          "description": "Set the location type to local"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for command"
        }
      ],
      "args": [
        {
          "name": "name",
          "description": "Name of the planter to edit"
        }
      ]
    },
    {
      "name": "pin",
      "description": "Pins a planter to the top of your list",
      "options": [
        {
          "names": [
            "-u",
            "--unpin"
          ],
          "description": "Removes position from the planter"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for command"
        }
      ],
      "args": [
        {
          "name": "name",
          "description": "Name of the planter to pin"
        },
        {
          "name": "position",
          "description": "Specific position to set the planter at. (1 being the top of the list.)"
        }
      ]
    },
    {
      "name": "info",
      "description": "Prints all info about a planter in your list",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for command"
        }
      ],
      "args": [
        {
          "name": "name",
          "description": "Name of the planter to show info for"
        }
      ]
    },
    {
      "name": "help",
      "description": "Display help for command",
      "args": [
        {
          "name": "command"
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "-V",
        "--version"
      ],
      "description": "Output the version number"
    },
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Display help for command"
    }
  ]
}