big-fat-converter

module
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: MIT

README

Big Fat Converter

Converts from one encoding to another.

Supported formats:

  • HCL
  • JSON
  • YAML
  • TOML
  • XML (only decoding for now)
  • plist

Download

https://github.com/hoshsadiq/big-fat-converter/releases

usage

Convert from one format to another

Usage:
  bfc [command]

Available Commands:
  convert     Convert formats from an input type to an output type
  help        Help about any command
  version     Print the version number of the Big Fat Converter

Flags:
  -h, --help   help for bfc

Use "bfc [command] --help" for more information about a command.

Files can be read from arguments or stdin, however, the result will always be output to stdout. Use the shell's redirection features to output to a file if needed.

examples
$ bfc convert input.yaml -o json                    # Convert input.yaml to json
$ bfc convert input.hcl -o json                     # Convert input.hcl to json
$ cat input.yaml | bfc convert -i yaml -o json      # Convert stdin (yaml) to json

Directories

Path Synopsis
cmd
bfc
codec
bson
Package bson is a basic bson converter.
Package bson is a basic bson converter.
cue
Package cue is a cuelang converter
Package cue is a cuelang converter
dhall
Package dhall is a dhall lang converter.
Package dhall is a dhall lang converter.
hcl
Package hcl is a hcl converter.
Package hcl is a hcl converter.
json
Package json is a json converter.
Package json is a json converter.
json5
Package json5 is a json5 converter.
Package json5 is a json5 converter.
jsonnet
Package jsonnet is a jsonnet converter.
Package jsonnet is a jsonnet converter.
msgpack
Package msgpack is a converter for MessagePack.
Package msgpack is a converter for MessagePack.
plist
Package plist is a converter for plist.
Package plist is a converter for plist.
properties
Package properties is a properties file converter.
Package properties is a properties file converter.
toml
Package toml is a TOML converter
Package toml is a TOML converter
xml
Package xml is an XML converter.
Package xml is an XML converter.
yaml
Package yaml is a YAML converter.
Package yaml is a YAML converter.
Package converter defines an interface for writing generic converters.
Package converter defines an interface for writing generic converters.
Package version contains version information for the CLI.
Package version contains version information for the CLI.

Jump to

Keyboard shortcuts

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