cmd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cmd contains the root command runnable inside your CLI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute executues the root command

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand creates a new root command to run the main application

func PreRun

func PreRun(cmd *cobra.Command, _ []string)

PreRun runs on the root command pre-run hook, setting up the application to be able to run properly

func Run

func Run(cmd *cobra.Command, names []string)

Run runs on the root command run hook, containing the main business logic for the application

Types

This section is empty.

Jump to

Keyboard shortcuts

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