sklp whoami

sklp whoami [flags]

Description

One call answers the questions that otherwise need five: who am I logged in as, which projects and stacks exist (with their ids), which deploy contexts point where, what this repo declares under .sklp/, and where the secrets passphrase comes from. No secret value is ever printed. -json is the form for agents.

Flags

FlagAliasesTypeDefaultEnvDescription
--repo—string.—repository root to inspect
--json—bool——emit raw JSON from the API

Technical details

Technical details

Raw command JSON

{
  "path": [
    "sklp",
    "whoami"
  ],
  "slug": "whoami",
  "name": "whoami",
  "short": "Everything an operator or an AI agent needs before acting: API login, projects, deploy contexts, stacks and config keys",
  "long": "One call answers the questions that otherwise need five: who am I logged in as,\nwhich projects and stacks exist (with their ids), which deploy contexts point\nwhere, what this repo declares under .sklp/, and where the secrets passphrase\ncomes from. No secret value is ever printed. -json is the form for agents.",
  "synopsis": "sklp whoami [flags]",
  "flags": [
    {
      "name": "repo",
      "usage": "repository root to inspect",
      "type": "string",
      "default": "."
    },
    {
      "name": "json",
      "usage": "emit raw JSON from the API",
      "type": "bool"
    }
  ]
}

See also