cfgt

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

README

cfgt - Configuration File Translator

Installation

$ go get -u github.com/sean-/cfgt

Usage

NOTE: The convert sub-command is the default if no sub-command is specified.

usage: cfgt [<flags>] <command> [<args> ...]

A configuration file translation utility

Flags:
      --help               Show context-sensitive help (also try --help-long and
                           --help-man).
      --version            Show application version.
  -d, --debug              Enable debug mode.
  -i, --in="-"             Filename to read from
  -o, --out="-"            Filename to write to
  -I, --in-format="*"      Input format ("json", "json5", or "hcl")
  -O, --out-format="json"  Output format ("json")
  -p, --pretty             Pretty-print the output (true if output is a
                           terminal)

Commands:
  help [<command>...]
    Show help.


  convert [<flags>]
    Convert a configuration file to JSON

    -I, --in-format="*"      Input format ("json", "json5", or "hcl")
    -O, --out-format="json"  Output format ("json")
    -p, --pretty             Pretty-print the output (true if output is a
                             terminal)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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