command

package
v1.4.0-pre-alpha-2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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