Getting started with the Moderne CLI
The Moderne CLI is a command line tool that simplifies the process of building and publishing Lossless Semantic Tree (LST) artifacts to your artifact repository. Instead of having to manually set up each repository individually, you can use the CLI to configure thousands of repositories at once.
To install the Moderne CLI please:
- 2.Click on the
?in the top right corner and then select
Moderne CLIfrom the
- 3.You can then either press the
Download Latestbutton or you can install it directly through the command line by copying the
curlcommand at the bottom of the modal:
buildcommand allows you to manually create the LST artifacts with Group Artifact Version coordinates for a specific project. Once created, you can manually upload the artifacts to your artifact library so that Moderne can ingest them.
The publish command allows you to manually build and publish LST artifacts for a specific project. Once published to your artifact repository, Moderne will be able to ingest them and they will, in turn, be usable inside of the SaaS.
This command will begin by executing the build command and, if that's successful, it will then attempt to upload the artifacts to the artifact repository you specified.
connect jenkinsjob allows you to create Jenkins Jobs in bulk. For each configured repository, a Jenkins Job will be made that builds and publishes LST artifacts to your artifact repository on a regular basis.
connect githubcommand will create GitHub workflows that build and publish LST artifacts to your artifact repository on a regular basis. A workflow can be created for ingesting a single repository (by specifying the
pathparameter) or workflows can be created for ingesting a mass number of repositories (by specifying the