@moostjs/event-cli
v0.4.22
Published
@moostjs/event-cli
Downloads
208
Maintainers
Readme
@moostjs/event-cli
Welcome to @moostjs/event-cli
, a Moostjs library designed to handle CLI events within your Moost application. This package provides decorators that simplify the creation of command line interface handlers in a structured and declarative manner.
Note: As @moostjs/event-cli
is under active development, breaking changes can be expected.
Overview
The @moostjs/event-cli
module is crucial for making Moost applications responsive to CLI events. By leveraging this module, you can create handlers for these events in a structured, and clear manner.
Getting Started
To start a new Moost CLI project, you can run the following command:
npm create moost -- --cli
You can also provide a name for your project:
npm create moost my-cli-app -- --cli
This command will initiate a setup tool that will guide you through the project initialization process. It will prompt you to make certain choices such as:
- Whether you want to integrate eslint and prettier.
- Which bundler you prefer to use: esbuild or rollup.
Official Documentation
Contributing
We are excited to welcome contributors who are passionate about improving Moostjs. No matter your level of experience, your unique perspective and skills can make valuable contributions to our growing community.
Here are some basic steps to get you started:
Fork the Repo: Navigate to moostjs and fork the repository to your own GitHub account.
Clone the Repo: Clone the forked repository to your local machine.
Create a Branch: Make a new branch for your feature or bug fix.
Make your Changes: Implement your feature or fix the bug and commit the changes to your branch.
Make a Pull Request: Navigate back to your forked repo and press the "New pull request" button.
Don't hesitate to ask for help if you need it. We believe in fostering a friendly and respectful environment for all contributors.
Thank you for your interest in Moostjs. We look forward to building something amazing together!