leisheng-init v1.3.2
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-initUsage
Run leisheng init to start the initialization process:
leisheng initFollow the prompts to select the Lei Sheng product you wish to configure and provide the necessary details.
Example
$ leisheng initChoose 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
 
Enter the required configuration details for the selected product.
The tool will update your
.envfile 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 year ago