cli

package
v0.7.0-alpha.1 Latest Latest
Warning

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

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

Documentation

Overview

Package cli parses the flags the snellius binaries share, so the default, core-only and downstream binaries cannot drift apart.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(fs *flag.FlagSet, args []string) (kubeconfig string, o app.Options, err error)

Parse registers the flags on fs and parses args. It returns the kubeconfig path and the app options, with the embedded SPA as the UI. A build from the module cache embeds only a placeholder, so a downstream build sets o.UI to its own.

Types

This section is empty.

Jump to

Keyboard shortcuts

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