cmd

package
v0.0.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2025 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Copyright © 2025 NAME HERE <EMAIL ADDRESS>

Copyright © 2025 NAME HERE <EMAIL ADDRESS>

Copyright © 2025 NAME HERE <EMAIL ADDRESS>

Copyright © 2025 NAME HERE <EMAIL ADDRESS>

Copyright © 2025 NAME HERE <EMAIL ADDRESS>

Copyright © 2025 NAME HERE <EMAIL ADDRESS>

Copyright © 2025 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func FormatError

func FormatError(err error) string

func FormatSuccess

func FormatSuccess(message string) string

func FormatSuccessSimple

func FormatSuccessSimple(message string) string

func FormatWarning

func FormatWarning(message string) string

func FormatWarningSimple

func FormatWarningSimple(message string) string

func PrintError

func PrintError(err error)

func PrintSuccess

func PrintSuccess(message string)

func PrintSuccessSimple

func PrintSuccessSimple(message string)

func PrintWarning

func PrintWarning(message string)

func PrintWarningSimple

func PrintWarningSimple(message string)

func RunStatus added in v0.0.22

func RunStatus() error

Types

type AuthResponse

type AuthResponse struct {
	Token        string `json:"token"`
	RefreshToken string `json:"refresh_token,omitempty"`
	ExpiresIn    int    `json:"expires_in,omitempty"`
}

type Config

type Config struct {
	Token        string    `json:"token"`
	RefreshToken string    `json:"refresh_token,omitempty"`
	ExpiresAt    time.Time `json:"expires_at,omitempty"`
}

func LoadConfig

func LoadConfig() (*Config, error)

type PathInfo added in v0.0.22

type PathInfo struct {
	Original   string
	InstanceID string
	Path       string
	IsRemote   bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL