cli

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(info *Info) error

Initialize and bootstrap the CLI.

func List

func List(secretName string, env string, region string, profile string, envFile string)

List all environment from Secrets Manager

func Run

func Run(secretName string, command string, env string, region string, profile string, envFile string)

Run given command with the secrets from given Secret Manager.

func Setup added in v1.1.0

func Setup()

Setup prompts user for required settings and creates a envault.json file

Types

type Info

type Info struct {
	Name        string
	Version     string
	Description string
	AuthorName  string
	AuthorEmail string
}

Info defines the basic information required for the CLI.

Jump to

Keyboard shortcuts

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