nighthawk 0.2.0

AI terminal autocomplete — zero config, zero login, zero telemetry
Documentation
{
  "name": "railway",
  "description": "CLI for managing Railway Apps",
  "subcommands": [
    {
      "name": "add",
      "description": "Add a plugin to your project"
    },
    {
      "name": "completion",
      "description": "Generate shell-completions",
      "args": [
        {
          "name": "shell",
          "description": "The shell to generate completions for",
          "suggestions": [
            "bash",
            "zsh",
            "fish",
            "powershell"
          ]
        }
      ]
    },
    {
      "name": "connect",
      "description": "Connect to a plugin",
      "args": [
        {
          "name": "plugin",
          "description": "The plugin to connect to",
          "suggestions": [
            "postgresql",
            "mysql",
            "redis",
            "mongodb"
          ]
        }
      ]
    },
    {
      "name": "delete",
      "description": "Delete a project",
      "args": [
        {
          "name": "project-id",
          "description": "The project to delete"
        }
      ]
    },
    {
      "name": "docs",
      "description": "Open Railway Documentation in default browser"
    },
    {
      "name": "down",
      "description": "Remove the most recent deployment",
      "options": [
        {
          "names": [
            "-e",
            "--environment"
          ],
          "description": "Environment to delete from",
          "takes_arg": true
        }
      ]
    },
    {
      "name": "environment",
      "description": "Change your environment",
      "args": [
        {
          "name": "environment",
          "description": "The environment to change to",
          "suggestions": [
            "production",
            "preview"
          ]
        }
      ]
    },
    {
      "name": "help",
      "description": "Get help about any command",
      "args": [
        {
          "name": "command",
          "description": "The command to get help about"
        }
      ]
    },
    {
      "name": "init",
      "description": "Create a new railway project"
    },
    {
      "name": "link",
      "description": "Connect to an existing railway project",
      "args": [
        {
          "name": "project-id",
          "description": "The project to link to"
        }
      ]
    },
    {
      "name": "list",
      "description": "List all railway projects"
    },
    {
      "name": "login",
      "description": "Login to railway",
      "options": [
        {
          "names": [
            "--browserless"
          ],
          "description": "Login without opening a browser"
        }
      ]
    },
    {
      "name": "logout",
      "description": "Logout of railway"
    },
    {
      "name": "logs",
      "description": "Show logs for the most-recent deployment",
      "options": [
        {
          "names": [
            "-n",
            "--lines"
          ],
          "description": "Output a specific number of lines",
          "takes_arg": true,
          "arg": {
            "name": "Number of lines",
            "description": "The number of lines to output"
          }
        }
      ]
    },
    {
      "name": "open",
      "description": "Open the project",
      "subcommands": [
        {
          "name": "live",
          "description": "Open the live project"
        },
        {
          "name": "metrics",
          "description": "Open project metrics"
        },
        {
          "name": "settings",
          "description": "Open project settings"
        }
      ]
    },
    {
      "name": "run",
      "description": "Run a local command using variables from the active environment",
      "options": [
        {
          "names": [
            "-e",
            "--environment"
          ],
          "description": "Environment to run in",
          "takes_arg": true
        },
        {
          "names": [
            "-s",
            "--service"
          ],
          "description": "Define specific service",
          "takes_arg": true,
          "arg": {
            "name": "Service name"
          }
        }
      ]
    },
    {
      "name": "shell",
      "description": "Open a subshell with Railway variables available",
      "options": [
        {
          "names": [
            "-s",
            "--service"
          ],
          "description": "Deploy app to specific service",
          "takes_arg": true,
          "arg": {
            "name": "Service name"
          }
        }
      ]
    },
    {
      "name": "status",
      "description": "View the status of railway project"
    },
    {
      "name": "unlink",
      "description": "Disconnects the current directory from a Railway project"
    },
    {
      "name": "up",
      "description": "Deploy to railway",
      "options": [
        {
          "names": [
            "-d",
            "--detach"
          ],
          "description": "Detach from build logs"
        },
        {
          "names": [
            "-e",
            "--environment"
          ],
          "description": "Environment to run in"
        },
        {
          "names": [
            "-s",
            "--service"
          ],
          "description": "Deploy app to specific service",
          "takes_arg": true,
          "arg": {
            "name": "Service name"
          }
        }
      ],
      "args": [
        {
          "name": "path",
          "description": "Path to deploy to",
          "template": "folders"
        }
      ]
    },
    {
      "name": "variables",
      "description": "Work with environment variables",
      "subcommands": [
        {
          "name": "delete",
          "description": "Delete variable",
          "args": [
            {
              "name": "variable",
              "description": "The name of the variable you want to delete"
            }
          ]
        },
        {
          "name": "get",
          "description": "Get variable value",
          "args": [
            {
              "name": "variable",
              "description": "The name of the variable you want to get"
            }
          ]
        },
        {
          "name": "set",
          "description": "Set variable value",
          "args": [
            {
              "name": "variable",
              "description": "The name of the variable you want to set"
            },
            {
              "name": "value",
              "description": "Value of the variable"
            }
          ]
        }
      ],
      "options": [
        {
          "names": [
            "-e",
            "--environment"
          ],
          "description": "Environment"
        },
        {
          "names": [
            "-s",
            "--service"
          ],
          "description": "Deploy app to specific service",
          "takes_arg": true,
          "arg": {
            "name": "Service name"
          }
        }
      ]
    },
    {
      "name": "version",
      "description": "Get the version of railway's CLI"
    },
    {
      "name": "whoami",
      "description": "Get the logged in user"
    }
  ],
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Show help for railway"
    },
    {
      "names": [
        "--version",
        "-V"
      ],
      "description": "Show railway version"
    },
    {
      "names": [
        "--verbose",
        "-v"
      ],
      "description": "Enable verbose output"
    }
  ]
}