Documentation
¶
Index ¶
- Constants
- Variables
- func App() *app.App
- func CheckServeHTTPHost(fromFlag bool, host string) error
- func CheckServeHTTPPort(fromFlag bool, port int) error
- func CheckServeInterval(fromFlag bool, d time.Duration) error
- func CompleteFlights(c *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func DefaultFlight() string
- func EmitSections(c *cobra.Command, root string, sections []plugin.Section) error
- func Host(signal string) plugin.Host
- func QueryCmd(name, short string, bind func(*cobra.Command, *map[string]string)) *cobra.Command
- func RecordAction(label string, started, finished time.Time, sections []plugin.Section)
- func RegisterCommand(fn CommandFunc)
- func ResolveFlight(args []string) (string, error)
- func ResolveServeHTTPIdentity() (serve.HTTPIdentityOptions, error)
- func ResolveServeHTTPToken() (token, source string, err error)
- func ResolveWriteTarget(what, setting, configured, requested string) (string, error)
- func Root() *cobra.Command
- func Scope() *ui.Scope
- func ServeHTTP() (enabled bool, host string, port int)
- func ServeInterval() time.Duration
- func ServeTheme() string
- func Shutdown()
- func SignalCmd(name, short string) *cobra.Command
- func StartLoading()
- func StopLoading()
- type CommandFunc
Constants ¶
View Source
const ( AnnoGateMode = annoGateMode ModeDaemon = modeDaemon )
View Source
const AnnoLaunchLoading = "mino_launch_loading"
Variables ¶
View Source
var Version = "dev"
Functions ¶
func CheckServeHTTPHost ¶ added in v0.1.20
func CheckServeHTTPPort ¶ added in v0.1.20
func CompleteFlights ¶
func DefaultFlight ¶
func DefaultFlight() string
func EmitSections ¶
func RecordAction ¶
func RegisterCommand ¶
func RegisterCommand(fn CommandFunc)
func ResolveFlight ¶
func ResolveServeHTTPIdentity ¶ added in v0.1.21
func ResolveServeHTTPIdentity() (serve.HTTPIdentityOptions, error)
func ResolveServeHTTPToken ¶ added in v0.1.20
ResolveServeHTTPToken returns the API bearer token and where it came from.
func ResolveWriteTarget ¶
func Scope ¶ added in v0.1.5
Scope returns the CLI's rendering scope, defaulting to the process globals until PersistentPreRunE has built it.
func ServeInterval ¶
func ServeTheme ¶
func ServeTheme() string
func StartLoading ¶
func StartLoading()
func StopLoading ¶
func StopLoading()
Types ¶
type CommandFunc ¶
Source Files
¶
- access.go
- action.go
- backup.go
- cache.go
- complete.go
- config.go
- console.go
- context.go
- export.go
- ext.go
- filter.go
- flight.go
- fly.go
- formatter.go
- gate.go
- gitea.go
- github.go
- gitlab.go
- history.go
- lifecycle.go
- list.go
- loading.go
- log.go
- login.go
- notes.go
- onboard.go
- pane.go
- plugins.go
- query.go
- querybuild.go
- querybuildprompt.go
- restore.go
- role.go
- root.go
- serve.go
- serveidentity.go
- settings.go
- show.go
- signals.go
- subcmd.go
- tui.go
- verify.go
- version.go
Click to show internal directories.
Click to hide internal directories.