Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup ey-core environment_variables CLI functionality #134

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from

Conversation

Kyle-Law
Copy link
Contributor

@Kyle-Law Kyle-Law commented Jan 16, 2023

What?

  • Setup CRUD functionality to ey-core environment_variables
  • Refactor ey-core environment_variables files structure

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

@Kyle-Law Kyle-Law changed the title Refactor environment_variables directory structure Setup ey-core environment_variables CLI functionality Feb 22, 2023
@Kyle-Law Kyle-Law marked this pull request as ready for review February 22, 2023 23:27
@Kyle-Law Kyle-Law requested a review from mushyy March 22, 2023 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant