factorial-io / phabalicious

Supports your deployments and every-day devops-tasks
http://docs.phab.io
MIT License
18 stars 3 forks source link

Feature/push and pull variables #74

Closed stmh closed 4 years ago

stmh commented 4 years ago

This PR will add two new commands, variable:pull and variable:push. Both commands require a yaml file wher the first-level keys are used for getting or setting the variables.

D8 implementation is missing.

You can test it by creating a file like this:

bi_hub_component_external_url: false
bi_hub_component_hubconfig_external: false
bi_hub_component_hubconfig_internal: false
bi_hub_component_hubcore_url: false

and then by running

phab -cconfig variable:pull thefilename

and

phab -cconfig variable:push thefilename
d34dman commented 4 years ago

@stmh i tested it locally and it works :) Only tested it with simple variables though.