Skip to content

unexge/bulke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bulke

Bulk edit files.

Example

$ cat ./ap/jp.yaml
port: 8080
region: ap
country: jp
concurrency: 2

$ cat ./eu/de.yaml
port: 8080
region: eu
country: de
lifetime: 3600

$ bulke '
region: {=REGION}
country: {=COUNTRY}
{+endpoint: $COUNTRY.$REGION.app.local}
' './**/*.yaml'
ap/jp.yaml
eu/de.yaml

$ cat ./ap/jp.yaml
port: 8080
region: ap
country: jp
endpoint: jp.ap.app.local
concurrency: 2

$ cat ./eu/de.yaml
port: 8080
region: eu
country: de
endpoint: de.eu.app.local
lifetime: 3600

About

Bulk edit files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages