Releases: doxigo/drupal-radix-cli
Releases · doxigo/drupal-radix-cli
1.0.8
Automatic Template Reference Updates
- Enhanced Component Addition: When adding components using the `add` command, the CLI now automatically scans for *.html.twig template files in the /templates directory
- Smart Reference Replacement: Automatically replaces `radix:COMPONENTNAME` references with `THEMENAME:COMPONENTNAME` to match your current theme
- Comprehensive Scanning: Recursively searches through all subdirectories in the templates folder
- User Feedback: Displays a list of all updated template files after successful component addition
New Command Flag
--no-templateFlag: Added optional flag to skip automatic template updates when adding components- Flexible Workflow: Allows users to add components without modifying existing templates when needed
Documentation Updates
- Updated
README.mdwith comprehensive documentation for the new features - Added usage examples for the
--no-templateflag - Documented the automatic template update behavior
🔧 Command Usage
# Default behavior (with template updates)
npx drupal-radix-cli add button
# Skip template updates
npx drupal-radix-cli add button --no-template
1.0.7
Better message handling, Confirmation on overwriting an existing component.
Key features:
- Failsafe checks if a component name or description is missing in Radix theme. ref.
- Colorful messages and interactions using picocolors
- Leverage confirmation on existing component overwrite. ref.
- Generate
.mdxformat for README instead of.md.
Please refer to the README for installation and usage instructions.
Full Changelog: 1.0.5...1.0.7
v1.0.6
Full Changelog: https://github.com/doxigo/drupal-radix-cli/commits/1.0.6
Better message handling, Confirmation on overwriting an existing component.
Key features:
- Colorful messages and interactions using picocolors
- Leverage confirmation on existing component overwrite. ref.
- Generate
.mdxformat for README instead of.md.
Please refer to the README for installation and usage instructions.
v1.0.5
Full Changelog: https://github.com/doxigo/drupal-radix-cli/commits/1.0.5
This is the first official release of the Radix Drupal CLI. It introduces the ability to list, add, and generate Radix components for Drupal themes.
Key features:
- List all available parent Radix components
- Add Radix components to your Sub-theme
- Generate new component folders with necessary files
Please refer to the README for installation and usage instructions.