cli

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewSyncer = workspace.NewSyncer
)

Functions

func Run

func Run(ctx context.Context, args []string) error

Types

type Config

type Config struct {
	APIHost string            `json:"api_host"`
	Token   string            `json:"token,omitempty"`
	Tokens  map[string]string `json:"tokens,omitempty"`
	// TokenSource says where Token came from. Set by loadConfig, never saved.
	TokenSource tokenSource `json:"-"`
}

type Syncer

type Syncer = workspace.Syncer

Jump to

Keyboard shortcuts

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