cfc

module
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2022 License: MIT

README

cfc

cfc means config customize.

It uses viper internal encoding package. Thanks for spf13.

But also you can use cfctl to get value in command line or shell scripts...

import package

import "github.com/jaronnie/cfc"

how to use cfc package

_example

download cfctl

release

how to use cfctl

cfctl get name -f test.toml

cfctl set_string name value -f test.toml

# if you do not set config type, we will try to set config type.
# if you have been setting config type, we will use it!
cat test.toml | cfctl get name
cat test.toml | cfctl get name -p toml

if you want to get more about cfctl, click here

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL