package
Version:
v1.1.0-beta.2
Opens a new window with list of versions in this module.
Published: Dec 10, 2025
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetAccountIDFromToken gets the account ID from the token
Token format: pat.AccountID.Random.Random
GetRootCmd returns the auth command
type AuthConfig struct {
BaseURL string `json:"base_url"`
Token string `json:"token"`
AccountID string `json:"account_id"`
OrgID string `json:"org_id,omitempty"`
ProjectID string `json:"project_id,omitempty"`
}
AuthConfig represents authentication configuration for saving to disk
Source Files
¶
Click to show internal directories.
Click to hide internal directories.