cli

package
v0.139.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the CLI. cmd/fpcloud is a thin main over this.

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand returns the fully registered command tree.

Exported so the docs pool can be validated against the real cobra registration from outside this module: the pool lives in the platform repo and the tree lives here, and a check that owns only one of the two is the drift it exists to catch.

Types

type Config

type Config struct {
	APIUrl                 string `yaml:"api_url,omitempty"`
	APIKey                 string `yaml:"api_key,omitempty"`
	CurrentOrg             string `yaml:"current_org,omitempty"`
	CurrentOrgFKE          bool   `yaml:"current_org_fke,omitempty"` // cached FKE entitlement of CurrentOrg; hides the `fke` command tree when false (server still enforces)
	CurrentProject         string `yaml:"current_project,omitempty"`
	SuppressVersionWarning bool   `yaml:"suppress_version_warning,omitempty"`
}

Config holds the CLI configuration.

Jump to

Keyboard shortcuts

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