engineyard / core-client-rb

Engine Yard Core API Ruby client
MIT License
4 stars 22 forks source link

Setup ey-core environment_variables CLI functionality #134

Open Kyle-Law opened 1 year ago

Kyle-Law commented 1 year ago

What?

How?

Through CoreAPI

Examples

--help

ey-core environment_variables -h
NAME
  environment_variables - Environment variables specific commands

SYNOPSIS
  ey-core environment_variables command

OPTIONS
  -h, --help - Shows this message

COMMANDS
  create - Create Engine Yard environment variable 
  destroy - Destory a Engine Yard environment variable 
  list - Retrieve a list of Engine Yard environment variables for environments
  that you have access to.
  update - Update Engine Yard environment variable 

create

ey-core environment_variables create -h
NAME
  create - Create Engine Yard environment variable 

SYNOPSIS
  ey-core environment_variables create [create options]

OPTIONS
  -a APPLICATION, --application=APPLICATION - Filter by application name or id
  -s DISPLAY_SENSITIVE, --display_sensitive=DISPLAY_SENSITIVE - Determines
  whether values of sensitive variables should be printed
  -e ENVIRONMENT, --environment=ENVIRONMENT - Filter by environmeent name or id
  -k KEY, --key=KEY - Key
  -v VALUE, --value=VALUE - Value
  -h, --help - Shows this message

list -h

ey-core environment_variables list -h 
NAME
  list - Retrieve a list of Engine Yard environment variables for environments
  that you have access to.

SYNOPSIS
  ey-core environment_variables list [list options]

OPTIONS
  -a APPLICATION, --application=APPLICATION - Filter by application name or id
  -s, --display_sensitive - Determines whether values of sensitive variables
  should be printed
  -e ENVIRONMENT, --environment=ENVIRONMENT - Filter by environmeent name or id
  -h, --help - Shows this message

update

ey-core environment_variables update -h
NAME
  update - Update Engine Yard environment variable 

SYNOPSIS
  ey-core environment_variables update [update options]

OPTIONS
  -a APPLICATION, --application=APPLICATION - Filter by application name or id
  -s DISPLAY_SENSITIVE, --display_sensitive=DISPLAY_SENSITIVE - Determines
  whether values of sensitive variables should be printed
  -e ENVIRONMENT, --environment=ENVIRONMENT - Filter by environmeent name or id
  -k KEY, --key=KEY - Key
  -v VALUE, --value=VALUE - Value
  -h, --help - Shows this message

destroy

ey-core environment_variables destroy -h
NAME
  destroy - Destory a Engine Yard environment variable 

SYNOPSIS
  ey-core environment_variables destroy [destroy options]

OPTIONS
  -a APPLICATION, --application=APPLICATION - Filter by application name or id
  -s DISPLAY_SENSITIVE, --display_sensitive=DISPLAY_SENSITIVE - Determines
  whether values of sensitive variables should be printed
  -e ENVIRONMENT, --environment=ENVIRONMENT - Filter by environmeent name or id
  -k KEY, --key=KEY - Key
  -v VALUE, --value=VALUE - Value
  -h, --help - Shows this message