Skip to content

Template for a groovy script, including basic features such as logging, parameters

Notifications You must be signed in to change notification settings

ellipticview/groovy-script-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project shows a very simple Groovy script with these features:

  1. Logging, using Logback

  2. Command line parameters

  3. Configuration file

This project is set up as an IntelliJ project.

Use this project as a template for your scripts.

Logging

The script logic is encapulated in a class, so that we can use a logger annotation.

Command line parameters

The command line parameters are specified using picoCli.

Configuration file

Configuration is specified in a file which is then read by configslurper.

About

Template for a groovy script, including basic features such as logging, parameters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published