sklp registry login

sklp registry login [flags] [host]

Description

Save a registry credential (host from --provider or the positional)

Arguments

ArgumentRequiredNotes
hostno

Flags

FlagAliasesTypeDefaultEnvDescription
--provider-pstring——pre-fill host and username: docker-hub | github | scaleway
--username-ustring——registry username
--password-stdin—bool——read the password from stdin instead of prompting
--credential-command—string——store a lookup command whose stdout is the password, instead of the password itself

Technical details

Technical details

Raw command JSON

{
  "path": [
    "sklp",
    "registry",
    "login"
  ],
  "slug": "registry-login",
  "name": "login",
  "short": "Save a registry credential (host from --provider or the positional)",
  "synopsis": "sklp registry login [flags] [host]",
  "flags": [
    {
      "name": "provider",
      "aliases": [
        "p"
      ],
      "usage": "pre-fill host and username: docker-hub | github | scaleway",
      "type": "string"
    },
    {
      "name": "username",
      "aliases": [
        "u"
      ],
      "usage": "registry username",
      "type": "string"
    },
    {
      "name": "password-stdin",
      "usage": "read the password from stdin instead of prompting",
      "type": "bool"
    },
    {
      "name": "credential-command",
      "usage": "store a lookup command whose stdout is the password, instead of the password itself",
      "type": "string"
    }
  ],
  "positionals": [
    {
      "name": "host",
      "required": false
    }
  ]
}

See also