package org.docascode.hooks; import org.docascode.utils.Utils; import picocli.CommandLine; @CommandLine.Command(name = "pre-commit") public class PreCommitCLI implements Runnable { @CommandLine.Parameters(description = "parameters") private String[] parameters; @Override public void run() { PreCommitCtrl preCommitCtrl = new PreCommitCtrl(); try { preCommitCtrl.run(); } catch (Exception e) { e.printStackTrace(); } } }