AryanSharma9917 / AryanSharma9917/Codewise-CLI
Roadmap for Next Enhancements (v2.0)
- Dominant language
- Go
- Stars
- 16
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
**Title:** Roadmap: Next Features & Enhancements for Codewise-CLI (v2.0)
**Description:**
We’ve successfully implemented the core functionality of **Codewise-CLI** (commands like `encode`, `template`, `generate`, Docker support, and tests). To move towards **v2.0**, we should introduce additional features and improvements that make the CLI more powerful, user-friendly, and production-ready.
This issue tracks the **next set of enhancements** planned for the project.
---
## Phase 6 Progress (Already Implemented)
- [x] TOML ↔ JSON conversion
- [x] JSON ↔ XML conversion
- [x] `--force` flag for file overwrites
---
## Proposed Enhancements
1. **Version & Help Improvements**
* Add a `version` command that shows the CLI version (using build flags / Git tag).
* Enhance `help` with detailed usage and subcommand examples.
2. **Validator Integration**
* Implement a `pkg/validator/` package to validate:
* Input files (JSON/YAML/TOML schema validation).
* Template data consistency.
3. **Template Engine Enhancements**
* Add support for:
* Partials and nested templates.
* Looping and conditional logic.
* Sprig functions for advanced templating.
4. **Generate Command Extensions**
* Add support for scaffolding:
* GitHub Actions CI/CD pipelines.
* Kubernetes Helm charts.
* Terraform starter configs.
* Optional interactive prompts for scaffold options.
5. **Error Handling & Logging**
* Improve error messages and exit codes.
* Add verbose/debug logging support.
6. **Interactive CLI Mode**
* Use `survey` or similar library to prompt users when required flags are missing.
7. **CI/CD & Release Automation**
* Add GitHub Actions workflow to:
* Run tests automatically.
* Build and release binaries using Goreleaser.
* Publish artifacts for Linux, macOS, Windows.
8. **Documentation & Examples**
* Expand README with real-world usage scenarios.
* Add sample templates and `values.yaml` files for demos.
9. **Binary Distribution**
* Provide pre-built binaries for major OS/architectures.
* Optionally publish via Homebrew or APT.
10. **Encode Command Phase 6 Extensions**
* Extend `encode` command to support:
* TOML ↔ JSON
* JSON ↔ XML
---
## 📝 Checklist
* [x] Phase 6: TOML ↔ JSON conversion
* [x] Phase 6: JSON ↔ XML conversion
* [x] Phase 6: `--force` flag for file overwrites
* [ ] Add `version` and improve `help` command
* [ ] Implement `pkg/validator/` with schema checks
* [ ] Enhance template engine with loops/partials/Sprig
* [ ] Extend `generate` for CI/CD, Helm, Terraform
* [ ] Improve error handling and logging
* [ ] Add interactive CLI prompts (`survey`)
* [ ] Set up GitHub Actions CI/CD with Goreleaser
* [ ] Expand docs with examples and demos
* [ ] Provide binary releases and package manager support
---
## Labels
* `enhancement`
* `roadmap`
* `v2.0`
---
👉 This issue will serve as a **tracking epic** for v2.0 development. Individual sub-features can be split into smaller issues and linked back here.
Contributor guide
Assessment
This issue has not been assessed yet.