sklp auth

sklp auth

Description

Manage CLI authentication against the Skalpai API: login | status | logout

Subcommands

Technical details

Technical details

Raw command JSON

{
  "path": [
    "sklp",
    "auth"
  ],
  "slug": "auth",
  "name": "auth",
  "short": "Manage CLI authentication against the Skalpai API: login | status | logout",
  "synopsis": "sklp auth",
  "subcommands": [
    {
      "path": [
        "sklp",
        "auth",
        "login"
      ],
      "slug": "auth-login",
      "name": "login",
      "short": "Authenticate against the Skalpai API and save the token",
      "synopsis": "sklp auth login [flags]",
      "flags": [
        {
          "name": "api-url",
          "usage": "pre-fill the API URL prompt with this value",
          "type": "string"
        }
      ]
    },
    {
      "path": [
        "sklp",
        "auth",
        "logout"
      ],
      "slug": "auth-logout",
      "name": "logout",
      "short": "Remove the saved API token (keeps the url, leaves deploy contexts untouched)",
      "synopsis": "sklp auth logout"
    },
    {
      "path": [
        "sklp",
        "auth",
        "status"
      ],
      "slug": "auth-status",
      "name": "status",
      "short": "Show the configured API endpoint and validate the saved token",
      "synopsis": "sklp auth status"
    }
  ]
}

See also