Crates.io | dsconv |
lib.rs | dsconv |
version | 0.3.0 |
source | src |
created_at | 2021-09-10 17:57:34.981132 |
updated_at | 2021-11-10 22:49:29.612297 |
description | A data-serialization format converter |
homepage | |
repository | https://github.com/sorairolake/dsconv |
max_upload_size | |
id | 449387 |
size | 125,248 |
dsconv is a command-line utility for converting from one data-serialization format to another.
OS | Method | Package | Command |
---|---|---|---|
Any | Cargo | dsconv |
cargo install dsconv |
Pre-built binaries for Linux, macOS and Windows are available on the release page.
Please see BUILD.adoc.
dsconv 0.3.0
A data-serialization format converter
USAGE:
dsconv [FLAGS] [OPTIONS] [FILE]
FLAGS:
--list-input-formats List supported input formats
--list-output-formats List supported output formats
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-f, --from <FORMAT> Specify input format [possible values: CBOR, Hjson, JSON, JSON5, MessagePack,
RON, TOML, YAML]
-t, --to <FORMAT> Specify output format [possible values: CBOR, JSON, MessagePack, TOML, YAML]
-o, --output <FILE> Output to <FILE> instead of stdout
-p, --pretty <BOOLEAN> Output as a pretty-printed string [possible values: true, false]
--color <WHEN> Specify when to use colored output [default: auto] [possible values: auto,
always, never]
--generate-completion <SHELL> Generate shell completion [possible values: zsh, bash, fish, powershell,
elvish]
ARGS:
<FILE> Input from <FILE>
See dsconv(1) for more details.
See dsconv(1)
for more details.
Please see CHANGELOG.adoc.
If you want to change the default behavior, you can use the configuration file.
See dsconv-config.toml(5)
for more details.
Please see CONTRIBUTING.adoc.
Copyright © 2021 Shun Sakai (see AUTHORS.adoc)
This program is distributed under the terms of the Apache License 2.0.
See COPYING for more details.