Leap CLI is a command-line interface created with one primary purpose: Enabling Developers. With the help of Leap CLI, developers can spend less time configuring projects and creating tedious boilerplate code. Instead, with a few simple commands, you can be customizing a Leap Feature and composing solutions.
Before you can set up the Leap CLI, make sure that you have installed and configured your environment first:
- Java OpenJDK 8 (download)
- Set %JAVA_HOME% environment variable
- Apache Maven 3.3.9 (download)
- Install Guide
- Set %MAVEN_HOME% environment variable
- MySQL 5.7.24 (download)
- User “admin” (default for leap)
- Password as empty string (default for leap)
Download Latest Leap CLI
The latest build of the CLI can be cloned directly from Github or Download v1 here (direct download available soon). If you do not have access to the Github repo, please send an email to request access.
Set Environment Variables
Once the CLI has been downloaded and you have placed it where it will remain on your PC, you must configure the:
- LEAP_CLI_HOME environment variable
- Add %LEAP_CLI_HOME%\exec to your existing “path” variable
Now that you’ve configured the prerequisites and set up the environment variables for the Leap CLI, the only thing left to do is test it!
Open a “CMD” window in any directory and type in the –help command to verify the CLI is working properly.
If you were successful in setting up the CLI, you will see an output similar to this image.
Getting Started with Leap CLI
Finally! You’re ready to create your first Leap Application using the Leap Quickstart Guide! Please reference the Leap CLI Commands page for more information about all of the commands currently supported by the Leap CLI.