candy

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

Candy

Candy CLI logo

Releases Go Reference

Candy is a CLI tool that provides a basic set of commands to perform tedious tasks such as converting YAML to JSON or JSON to YAML directly from your terminal. It's build with Go, Cobra, Viper, etc

To install the Candy CLI, use the command go install github.com/Pradumnasaraf/candy@latest. Go will automatically install it in your $GOPATH/bin directory, which should be in your $PATH.

Once installed, you can use the candy CLI command. To confirm installation, type candy at the command line.

⭐️ Features

  • Convert JSON file to YAML
  • Convert YAML file to JSON
  • More comming soon...

📝 Usage

Usage:
  candy [command]

Available Commands:
  JTY         Converts a JSON into YAML and output the result in output.yaml file
  YTJ         Converts a YAML into JSON and output the result in output.json file
  help        Help about any command

Eg candy JTY --file test.json with convert JSON into YAML and create a output.yaml in you currect directory.

📜 License

This project is licensed under the Apache-2.0 license - see the LICENSE file for details

🛡 Security

If you discover a security vulnerability within this project, please check the SECURITY for more information.

Documentation

Overview

Copyright © 2023 Pradumna Saraf <pradumnasaraf@gmail.com>.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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