cli

package
v1.6.3-v1.27.5-k3s1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package cli

It is the entrypoint for the HAOS command line interface. It is responsible for initializing the CLI app and its subcommands. It also handles the global flags passed to the CLI app.

Package install is responsible for running the install phase of the system

it exposes a single function Command() which returns a configured cli.Command struct

Index

Constants

This section is empty.

Variables

View Source
var (
	Debug bool
)

Functions

func ConfigCommand

func ConfigCommand() cli.Command

Command returns a configured cli.Command struct

func InstallCommand

func InstallCommand() cli.Command

func Main

func Main() error

Main is the main function for the config command

func NewApp

func NewApp() *cli.App

New CLI App

func RCCommand

func RCCommand() cli.Command

func Run

func Run(_ *cli.Context)

Run the `upgrade` sub-command

func UpgradeCommand

func UpgradeCommand() cli.Command

Command is the `upgrade` sub-command, it performs upgrades to HAOS.

Types

This section is empty.

Jump to

Keyboard shortcuts

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