command

package
v0.9.0-dev Latest Latest
Warning

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

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

Documentation

Overview

Package command provides commands for scaffolding new CLI plugins.

Index

Constants

View Source
const AllTargets cli.Arch = "all"

AllTargets are all the known targets.

Variables

View Source
var CLICmd = &cobra.Command{
	Use:   "cli",
	Short: "Build CLIs",
}

CLICmd holds CLI builder commands.

View Source
var CompileCmd = &cobra.Command{
	Use:   "compile",
	Short: "Compile a repository",
	RunE:  compile,
}

CompileCmd compiles CLI plugins

Functions

func NewAddPluginCmd

func NewAddPluginCmd() *cobra.Command

NewAddPluginCmd adds a cli plugin to the repository.

func NewInitCmd

func NewInitCmd() *cobra.Command

NewInitCmd initializes a repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

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