bbctl

package
v0.0.0-...-db4d2c7 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string)

Types

type Config

type Config struct {
	DeviceID     id.DeviceID `json:"device_id"`
	Environments EnvConfigs  `json:"environments"`
	Path         string      `json:"-"`
}

func (*Config) Save

func (cfg *Config) Save() error

type EnvConfig

type EnvConfig struct {
	ClusterID     string `json:"cluster_id"`
	Username      string `json:"username"`
	AccessToken   string `json:"access_token"`
	BridgeDataDir string `json:"bridge_data_dir"`
}

EnvConfig holds credentials for one Beeper environment. Kept compatible with the upstream bridge-manager config format so that existing ~/.config/bbctl/config.json files continue to work.

func (*EnvConfig) HasCredentials

func (ec *EnvConfig) HasCredentials() bool

type EnvConfigs

type EnvConfigs map[string]*EnvConfig

func (EnvConfigs) Get

func (ec EnvConfigs) Get(env string) *EnvConfig

Jump to

Keyboard shortcuts

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