Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```