Skip to content

gcjensen/splend-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

splend-cli

A WIP CLI for the Splend tool

It is built using java and picocli, and includes support for generating a native binary using GraalVM.

Building

The app is built using maven. To build a fat-jar that contains all the dependencies, run:

$ mvn clean package

This can then be run like:

$ java -jar target/splend-1.0-SNAPSHOT.jar <command>

Building a native binary

To build a native binary using GraalVM and native-image tool, run:

$ mvn clean verify

This can then be run without the need for a JVM:

$ ./target/splend <command>

Usage

To use the tool, you'll need a config in ~/.splend/config.yaml, that looks like:

api-url: ... # The URL of your Splend API instance
id:      ... # The ID of the user
token:   ... # The token of the user

After building as per the instructions above (and moving the binary into your path), you can then run the following to see the available commands and options:

$ splend --help

About

A CLI for the Splend tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages