cmd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package cmd contains all of the commands that may be executed in the cli

Index

Constants

This section is empty.

Variables

View Source
var (
	//Verbose identifies if extended output should be configured during init and reset
	Verbose bool
)

Functions

func Execute

func Execute()

Execute creates the command tree and handles any error condition returned

Types

type Configuration

type Configuration struct {
	Hooks []struct {
		Name string   `json:"name"`
		Type string   `json:"type"`
		URL  *string  `json:"url,omitempty"`
		Args []string `json:"args"`
		Exec *string  `json:"exec,omitempty"`
	}
}

Configuration holds the commit hook definition loaded out of .hookz.yaml

Jump to

Keyboard shortcuts

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