vantoraui-cli
v1.0.4
Published
A powerful command-line interface for installing React and Next.js components from the VantoraUI component library
Maintainers
Readme
🚀 VantoraUI CLI
A powerful command-line interface for installing React and Next.js components from the VantoraUI component library.
📋 Table of Contents
✨ Features
- 🎨 Beautiful UI Components: Access to a curated collection of React and Next.js components
- 🚀 Fast Installation: Install components with a single command
- 📦 Batch Operations: Install all components at once
- 🎯 TypeScript Support: Components available in both TypeScript and JavaScript
- 🎨 Modern Design: Components follow modern design principles
- 📱 Responsive: All components are mobile-friendly
- ⚡ Lightweight: Minimal dependencies, fast performance
📦 Installation
Global Installation (Recommended)
npm install -g vantora-cliLocal Installation
npm install vantora-cliManual Installation
- Clone the repository:
git clone https://github.com/Vegadjay/vantora-cli.git
cd vantora-cli- Install dependencies:
npm install- Make it executable:
chmod +x index.js🚀 Usage
Basic Usage
vantora <command> [options]Quick Start
- Show CLI information:
vantora info- List available components:
vantora list- Install a component:
vantora add <component-name>- Install all components:
vantora create all📚 Commands
vantora info
Shows detailed information about the VantoraUI CLI.
Output includes:
- VantoraUI ASCII art
- Version information
- Author details
- GitHub repository
- Registry URL
- Description
Example:
vantora infovantora list
Lists all available components in the registry.
Output includes:
- Component names
- Component titles (if available)
- Component types (if available)
Example:
vantora listvantora add <name>
Installs a specific component from the registry.
Parameters:
name(required): The name of the component to install
Output includes:
- Installation progress
- Component details (name, title, type, author)
- File locations
- Success confirmation
Example:
vantora add button
vantora add card
vantora add navigationvantora create all
Installs all available components from the registry.
Features:
- Downloads all components sequentially
- Shows progress for each component
- Provides success/error tracking
- Displays summary at the end
Example:
vantora create all💡 Examples
Installing a Single Component
# Install a button component
vantora add button
# Install a card component
vantora add card
# Install a navigation component
vantora add navigationInstalling All Components
# Install all available components
vantora create allChecking Available Components
# List all available components
vantora listGetting CLI Information
# Show CLI information and author details
vantora info📁 Project Structure
After installation, components are organized in the vantoraui/ folder:
your-project/
├── vantoraui/
│ ├── components/
│ │ ├── button/
│ │ │ ├── Button.tsx
│ │ │ ├── Button.jsx
│ │ │ └── index.ts
│ │ ├── card/
│ │ │ ├── Card.tsx
│ │ │ ├── Card.jsx
│ │ │ └── index.ts
│ │ └── ...
│ ├── styles/
│ │ └── globals.css
│ └── utils/
│ └── helpers.ts
├── package.json
└── ...🎨 Component Types
VantoraUI provides various types of components:
- UI Components: Buttons, cards, inputs, modals
- Layout Components: Navigation, sidebar, footer
- Data Display: Tables, lists, charts
- Feedback Components: Alerts, notifications, loaders
- Form Components: Inputs, selects, checkboxes
- Media Components: Images, videos, icons
🔧 Configuration
Registry URL
The CLI connects to the VantoraUI registry at:
http://localhost:3000/api/componentsOutput Directory
Components are installed in the vantoraui/ folder in your current working directory.
🛠️ Development
Prerequisites
- Node.js (v14 or higher)
- npm or yarn
Setup Development Environment
- Clone the repository:
git clone https://github.com/Vegadjay/vantora-cli.git
cd vantora-cli- Install dependencies:
npm install- Make the CLI executable:
chmod +x index.js- Link for development:
npm linkRunning Tests
npm testBuilding
npm run build🤝 Contributing
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Contribution Guidelines
- Follow the existing code style
- Add tests for new features
- Update documentation as needed
- Ensure all tests pass
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
👨💻 Author
Jay Vegad
- GitHub: https://github.com/Vegadjay
- Email: [Add your email here]
🙏 Acknowledgments
- Thanks to all contributors who help improve VantoraUI
- Inspired by modern component libraries
- Built with love for the React community
📞 Support
If you encounter any issues or have questions:
- Check the Issues page
- Create a new issue with detailed information
- Contact the author via GitHub
🔄 Changelog
Version 1.0.0
- Initial release
- Basic CLI functionality
- Component installation
- Batch operations
- Author information integration
Made with ❤️ by Jay Vegad
