https://github.com/hiroakis/en
en. An environment variable management tool for Circle CI
https://github.com/hiroakis/en
Last synced: 12 months ago
JSON representation
en. An environment variable management tool for Circle CI
- Host: GitHub
- URL: https://github.com/hiroakis/en
- Owner: hiroakis
- Created: 2016-12-15T07:15:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-16T05:02:53.000Z (over 9 years ago)
- Last Synced: 2025-03-20T15:40:02.045Z (over 1 year ago)
- Language: Go
- Size: 4.88 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# en
The "en" is an environment variables management tool for Circle CI. "en" means "Circle" in Japanese(円). Kanji character(円) is the same as Japansese currency "Yen".
# Installation
```
go get github.com/hiroakis/en
```
# How to use
You have to get Circle CI API token before you use en. You can set it to `CIRCLE_TOKEN` environment variable or `-token` argument option.
* show variables
```
en -export
```
Output will be json. If you would like to export variables, you can redirect stdout to file. Like this `en > en.json`.
Note: Exported variables will be masked by Circle CI as follows. Edit it before you apply.
```
{
"name": "AWS_SECRET_ACCESS_KEY",
"value": "xxxxS73Z"
}
```
* dry-run
```
en -apply -dry-run -file path/to/en.json
```
* apply
```
en -apply -file path/to/en.json
```
* print version
```
en -version
```
* print usage
```
en -help
```
# Configuration
`en.example.json` is an example.
# License
MIT