All Downloads are FREE. Search and download functionalities are using the official Maven repository.

command.airline.CliOptionsParseErrorMessageCli Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
package command.airline;

import com.github.rvesse.airline.annotations.Cli;
import com.github.rvesse.airline.annotations.Command;

import command.airline.CliOptionsParseErrorMessageCli.ParseErrorMessageCliCommand;
import io.quarkiverse.githubapp.command.airline.CliOptions;
import io.quarkiverse.githubapp.command.airline.CliOptions.ParseErrorStrategy;

// tag::parse-error-message[]
@Cli(name = "@bot", commands = { ParseErrorMessageCliCommand.class })
@CliOptions(parseErrorStrategy = ParseErrorStrategy.COMMENT_MESSAGE, parseErrorMessage = "Your custom message") // <1>
public class CliOptionsParseErrorMessageCli {
    // end::parse-error-message[]

    @Command(name = "command")
    static class ParseErrorMessageCliCommand implements Runnable {

        @Override
        public void run() {
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy