cloud-ide-cli
v1.1.7
Published
The Cloud IDE CLI (Command Line Interface) is a powerful tool designed to streamline the process of initializing and managing projects within a cloud-based Integrated Development Environment. This command-line tool empowers developers to efficiently set u
Maintainers
Readme
cloud-ide-cli
The Cloud IDE CLI (Command Line Interface) is a powerful tool designed to streamline the process of initializing and managing projects within a cloud-based Integrated Development Environment. This command-line tool empowers developers to efficiently set up and configure projects for either API or UI development, offering a seamless experince
🌟 Introducing Cloud IDE CLI: Elevate Your Development Game! 💻✨
Ready to transform your development experience? Enter the world of Cloud IDE CLI, your ultimate solution for seamless project management! 🚀🔧
🌐 Effortless Project Initialization:
Execute cloud-ide new project_name node and witness instant project setup magic! Choose from various templates like Node.js, React, and more, simplifying project creation.
📦 Template-Based Generation:
Generate tailored files and dependencies aligned with your chosen template. From TypeScript setup to essential module installations, start projects effortlessly.
🔧 Flexible Folder Structure Updates:
Use cloud-ide update version_number to adapt folder structures based on template changes. Keep projects aligned with the latest standards seamlessly!
🌟 Key Features:
Streamlined Templating: Craft and utilize custom templates for project-specific needs. Automatic Git Integration: Sync and manage projects with Git effortlessly, minimizing manual effort. ⚙️ Join the Evolution:
Cloud IDE CLI simplifies project setup, ensures continuous updates, and enhances collaboration effortlessly! ⚡🚀
✨ Available on npm: Install via npm i -g cloud-ide-cli and embark on a journey of innovation! 🌐
🔄 Continuous Updates: We're committed to continuous improvements, ensuring you're equipped with the latest features for an enhanced development experience!
Ready to level up your development journey? Embrace Cloud IDE CLI and witness the power to build smarter, faster, and better projects! 💡✨
🚀 Build Command Usage
The Cloud IDE CLI now supports advanced build functionality for managing multiple Angular projects with dependencies:
Basic Build Command
cide build <project_name>This command will:
- Navigate to the specified project directory
- Increment the patch version in
package.json - Run the appropriate build command based on the template
- Navigate to the
distfolder - Publish the built package
Build with Installation
cide build <project_name> --install
# or use the short form
cide build <project_name> -iThis command performs all the above steps plus: 6. Update the package in root directory's package.json dependencies
Supported Templates
- Node.js: Uses
npx tscfor building - React: Uses
npm run buildfor building - Angular: Uses
ng build --project <project_name>for building specific libraries/projects - Custom: Uses
build_commandfromcide.jsonor defaults tonpm run build <project_name>
Example Usage
# Build an Angular library without installing
cide build my-angular-library
# Build an Angular library and update it at root
cide build my-angular-library --install
# or
cide build my-angular-library -i
# Build a React project
cide build my-react-app
# Build a Node.js project
cide build my-node-serviceConfiguration
The build process respects the following cide.json configuration in your workspace root:
templete: Project template type (node, react, angular)dist_path: Custom dist folder path (defaults to 'dist')build_command: Custom build command override
Sample cide.json for Angular Workspace
{
"name": "my-angular-workspace",
"description": "Angular Workspace with Multiple Libraries",
"templete": "angular",
"version": "1.0.0",
"dist_path": "dist",
"build_command": "ng build --project"
}Important: The cide.json file must be placed in your Angular workspace root directory (same level as angular.json and package.json).
#CloudIDE #CLI #DeveloperTools #ProjectManagement #CodingEfficiency #WorkflowOptimization
