@moostjs/event-cli
TypeScript icon, indicating that this package has built-in type declarations

0.3.38 • Public • Published

@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.

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:

  1. Fork the Repo: Navigate to moostjs and fork the repository to your own GitHub account.

  2. Clone the Repo: Clone the forked repository to your local machine.

  3. Create a Branch: Make a new branch for your feature or bug fix.

  4. Make your Changes: Implement your feature or fix the bug and commit the changes to your branch.

  5. 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!

Package Sidebar

Install

npm i @moostjs/event-cli

Weekly Downloads

1

Version

0.3.38

License

MIT

Unpacked Size

23.3 kB

Total Files

5

Last publish

Collaborators

  • mav-rik