commands

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Overview

This file contains a number of 'actions' which are common to many commands. It avoids duplicating things like common bits of resource acquisition across commands, and ensures that error handling is consistent for all of them. This also serves to make the commands much less verbose. When there are errors the only course of action is to stop the command with an appropriate help message. We can therefore capture a lot of the errors that library code throws in here.

Utilities for loading foldctl config with viper. This is distinct from the fold project config!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

This section is empty.

Jump to

Keyboard shortcuts

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