cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 8 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, upper bool)

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

func Setup()

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

func Update

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

Update all environment from env file to Secrets Manager

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