Co-Contribute-OpenSource / Codewise-CLI

This is a CLI tool that offers a fundamental set of commands to streamline your DevOps processes.

Home Page:https://pkg.go.dev/github.com/aryansharma9917/Codewise-CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Codewise

Codewise-CLI logo

Codewise 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 built with Go, Cobra, Viper, etc.

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

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

Note If you are getting an error like command not found: Codewise-CLI, then you need to add $GOPATH/bin to your $PATH environment variable.

πŸ“š Documentation

Check out detailed documentation for getting started and using Codewise CLI here.

⭐️ Features

  • Convert JSON file to YAML
  • Convert YAML file to JSON
  • Convert Key-Value to JSON
  • Generate Dockerfile for different languages/framework
  • Generate Kubernetes manifests for different objects
  • Encode and Decode a string to base64
  • More coming soon...

πŸ“ Usage

Usage:
  Codewise-CLI [command] [flags]
  Codewise-CLI [command]

Available Commands:
  JTY         Converts a JSON into YAML.
  KVTJ        Converts Key-Value (text) to JSON.
  YTJ         Converts a YAML into JSON.
  docker      Docker related commands. Like generating a Dockerfile for a language.
  encode      It encodes and decodes a string to base64 and vice versa.
  k8s         Kubernetes related commands. Like generating manifest files for kubernetes objects.

For detailed usage of each command, visit here

Eg Codewise-CLI JTY --file test.json with convert JSON into YAML and create a output.yaml in your current directory.

Eg Codewise-CLI docker dockerfile --lang go to generate a Dockerfile template for go.

eg Codewise-CLI k8s manifest --obj deployment to generate a deployment.yaml file with deployment template.

πŸ“œ 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.

About

This is a CLI tool that offers a fundamental set of commands to streamline your DevOps processes.

https://pkg.go.dev/github.com/aryansharma9917/Codewise-CLI

License:Apache License 2.0


Languages

Language:Go 100.0%