Implements CLI customization options for Celtrix so users can tailor the generated project (ports, Git, tooling, extras) directly from the interactive prompts. Closes #53.#195
Open
Shriii19 wants to merge 7 commits intoceltrix-os:mainfrom
Conversation
- Add interactive customization prompts for project setup - Support port configuration (server/client) - Add Git initialization with .gitignore - Include Docker setup option - Add code formatting options (ESLint + Prettier) - Implement additional features: * Swagger API documentation * Environment variable templates * VS Code workspace settings * Husky pre-commit hooks * GitHub Actions CI/CD - Create customization utility handler - Update project setup to apply customizations - Add comprehensive documentation in CUSTOMIZATION.md - Add test script for verification This implements issue celtrix-os#53 - CLI interaction customization options for the V2 Enhancement milestone.
- Create utils/customization.js with comprehensive handlers - Implement applyCustomizations() orchestrator function - Add Git initialization with .gitignore generation - Add environment template creation (.env.example) - Add VS Code workspace settings generator - Add GitHub Actions CI/CD workflow setup - Add Husky pre-commit hooks configuration - Add Swagger API documentation setup - Add port configuration updater for server/client - Export getAdditionalDependencies() helper Part of celtrix-os#53 - CLI customization options
- Add askCustomizationOptions() prompt in index.js - Add askAdvancedOptions() with port, Git, Docker, styling configs - Integrate customization into main() workflow - Update project.js to import and apply customizations - Enhance config display box to show customization settings - Call applyCustomizations() after project scaffolding Part of celtrix-os#53 - CLI customization options
- Add CUSTOMIZATION.md with comprehensive feature guide - Update README.md with Advanced Customization section - Add tests/test-customization.js for feature verification - Document usage examples, CLI flow, and benefits - Include implementation notes and future enhancements Closes celtrix-os#53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
.gitignore.env.exampletemplateCLI flow example