/gsenha-cli

Command line tools for gsenha

Primary LanguagePythonMIT LicenseMIT

GSenha CLI

CLI for gsenha-api using gsenha-python

Install for development

make install

Make binary

make dist

Now dist/gsenha binary will me available.

Usage

gsenha get --folder folder --name name1 --name name2 ... ---prefix GSENHA_

This will return an export for each variable as uppercase as follows:

export GSENHA_NAME1_DESCRIPTION='value1'
export GSENHA_NAME2_DESCRIPTION='value2'

Using Bash you can export variables using:

command_output=$(gsenha get --folder folder --name name1 --name name2 ... ---prefix GSENHA_)
eval "$(command_output)"

We did a function example for it.

Need some enviroment variables: