Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert .YML and .JSON fields into cli arguments Run cargs -h for help

install

with go

go install github.com/Dafaque/cargs@v1.0.2

With Homebrew

brew tap Dafaque/cargs && brew install cargs

example

urls.json

{
    "google": "https://google.com"
}
# curl --head $(cargs -f urls.json -kv location=google)

About

Config file properties to cli arguments converter

Topics

Resources

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages