Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skamenetskiy/catenv
A simple tool to append environment variables to a file contents. It supports both $ and ${} syntax.
https://github.com/skamenetskiy/catenv
cat cli environment-variables golang golang-application
Last synced: 13 days ago
JSON representation
A simple tool to append environment variables to a file contents. It supports both $ and ${} syntax.
- Host: GitHub
- URL: https://github.com/skamenetskiy/catenv
- Owner: skamenetskiy
- Created: 2019-07-17T22:13:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-18T09:47:06.000Z (over 5 years ago)
- Last Synced: 2023-08-20T20:10:26.191Z (over 1 year ago)
- Topics: cat, cli, environment-variables, golang, golang-application
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# catenv
[![Build Status](https://travis-ci.com/skamenetskiy/catenv.svg?branch=master)](https://travis-ci.com/skamenetskiy/catenv)### Description
A simple tool to append environment variables to a file contents. It supports both `$` and `${}` syntax.### Usage
```
Usage: catenv
Usage: cat | catenv -in
```### Binaries
Precompiled binaries can be downloaded in [releases](https://github.com/skamenetskiy/catenv/releases/latest).### Example
```yaml
test_file:
go_root: ${GOROOT}
go_root_2: $GOROOT
```
Will output something like:
```yaml
test_file:
go_root: C:\Go
go_root_2: C:\Go
```