rosana-cli
v1.0.17
Published
CLI tool for Rosana framework
Readme
rosana-cli
The rosana-cli tool is a command-line utility that helps you quickly set up projects using the Rosana.js framework. It automates the creation and updating of Rosana-based applications, providing an easy-to-use interface for developerosana.
With rosana-cli, you can generate a new project with a recommended structure, complete with example patterns, and update an existing project.
Features
- Create a New Project: Generate a new Rosana-based app with a predefined structure.
- Update Existing Projects: Update dependencies and project files to keep them in sync with the latest Rosana framework standards.
- Open in VSCode: Optionally open the project in Visual Studio Code after creation or update.
Installation
You can install rosana-cli globally on your machine for easy access. To install it globally, run:
npm install -g rosana-cliThis will make the rosana command available from anywhere on your system.
Usage
rosana create <project-name>
Creates a new project based on the Rosana.js framework. The CLI will automatically generate a new project folder with the recommended directory structure, example files, and basic configurations.
Arguments
<project-name>: The name of the new project you want to create.
Example
rosana create my-new-appThis will create a new folder called my-new-app in the current directory with the basic structure and necessary configuration files to start building with the Rosana.js framework.
Options
--open: Optionally open the newly created project in Visual Studio Code.
Example 2
rosana create my-new-app --openThis command will create the app and then attempt to open it in VSCode (if VSCode is installed and available in the system path).
rosana update
Updates an existing Rosana-based project to the latest verosanaion of the framework, ensuring that dependencies and project files are up to date.
Example 3
rosana updateThis will update the project’s dependencies and configurations to the latest recommended verosanaions of Rosana.js.
License
The rosana-cli tool is open-source and available under the MIT License.
Contributing
If you would like to contribute to the development of rosana-cli, feel free to fork the repository, make your changes, and submit a pull request.
