anomaly / github-secrets-cli

A command line tool for managing Github project secrets
https://www.npmjs.com/package/@anomalyhq/github-secrets-cli
Apache License 2.0
12 stars 2 forks source link

Sync secrets from config file (ini/yaml/.env) #13

Open petertriho opened 3 years ago

petertriho commented 3 years ago

Describe the feature or problem you’d like to solve Be able to sync secrets from a config file

Describe the solution you'd like E.g. .env file:

KEY1=VALUE1
KEY2=VALUE2

running ghs secrets:set --sync .env (or something similar) would erase existing secrets and create KEY1 (=VALUE1) and KEY2 (=VALUE2)

Seems to be similar to another feature request (#12)

aviskarkc10 commented 3 years ago

@brendon1555 Is there a plan to add this feature?

brendon1555 commented 3 years ago

@aviskarkc10 There is! I just haven't had the time lately to plan it out and implement it. I should add an accepted tag for feature requests I plan on adding.

brendon1555 commented 3 years ago

I've actually got some time to look at this today.