1.3.2 • Published 1 year ago

leisheng-init v1.3.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Lei Sheng CLI

leisheng init is a command-line tool designed to streamline the initialization and configuration of various Lei Sheng projects. With an easy-to-use interface, you can quickly set up your project and manage environment variables specific to Lei Sheng products.

Features

  • Initialize and configure Lei Sheng products:
    • Lei Sheng Comet Cloud
    • Lei Sheng Horizon
    • Lei Sheng Orion
    • Lei Sheng Shard
    • Lei Sheng Mail Relay
    • Lei Sheng Flow
    • Lei Sheng Connect
  • Seamlessly manage environment variables
  • Prevents overwriting existing configurations

Installation

To install leisheng init, you need to have Node.js installed. Then, run the following command:

npm install -g leisheng-init

Usage

Run leisheng init to start the initialization process:

leisheng init

Follow the prompts to select the Lei Sheng product you wish to configure and provide the necessary details.

Example

$ leisheng init
  1. Choose a product to initialize:

    • Lei Sheng Comet Cloud
    • Lei Sheng Horizon
    • Lei Sheng Orion
    • Lei Sheng Shard
    • Lei Sheng Mail Relay
    • Lei Sheng Flow
    • Lei Sheng Connect
  2. Enter the required configuration details for the selected product.

  3. The tool will update your .env file with the necessary environment variables.

Environment Variables

The environment variables will be prefixed with LEISHENG_ to avoid conflicts and ensure clarity.

Example:

# Lei Sheng Comet Cloud
LEISHENG_COMETCLOUD_BLADEURL=
LEISHENG_COMETCLOUD_BLADEANONKEY=

License

leisheng init is licensed under the MIT License.

Contact

For any inquiries or support, please contact support@leisheng.io.


This README provides a clear overview of the leisheng init tool, including its features, installation instructions, usage examples, and contact information for support.

1.3.2

1 year ago