{"modulePath":"github.com/deepsourcelabs/cli","version":"v0.10.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package login\n\n## Functions\n\n```go\nfunc NewCmdLogin() *cobra.Command\n```\nNewCmdLogin handles the login functionality for the CLI\n\n## Types\n\n```go\ntype LoginOptions struct {\n\tAuthTimedOut bool\n\tTokenExpired bool\n\tUser         string\n\tHostName     string\n\tInteractive  bool\n\tPAT          string\n}\n```\nLoginOptions hold the metadata related to login operation\n\n```go\nfunc (opts *LoginOptions) Run() (err error)\n```\nRun executes the auth command and starts the login flow if not already authenticated\n\n","path":"github.com/deepsourcelabs/cli/command/auth/login","name":"login","synopsis":"","isRedistributable":true}
