Skip to content

wizison/cli-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring CLI Tools

A small console application using spring boot and picocli.

run the (spring) application:

$ java -jar cli-tools.jar timeCalc -s 06:00 -e 16:15 -p 30

or execute the boot jar with

$ ./cli-tools.jar timeCalc -s 06:00 -e 16:15 -p 30

CLI Command Beans

Here you can find all existing command beans within the application.

1. TimeCalc

Calculates the duration between two times and subtracts a pause.

1.1. direct call

$ java -cp cli-tools.jar -Dloader.main=at.wizi.tools.clitools.command.TimeCalc org.springframework.boot.loader.PropertiesLauncher -s 08:00 -e 17:00 -p 30

2. TimeWork

Calculates the end time of work with given parameters.

2.1. direct call

$ java -cp cli-tools.jar -Dloader.main=at.wizi.tools.clitools.command.TimeWork org.springframework.boot.loader.PropertiesLauncher -s 08:00 -p 30 -w 08:15

About

Java console tools using spring boot and picocli.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages