1 package com.lexicalscope.jewel.cli.examples; 2 3 import com.lexicalscope.jewel.cli.Option; 4 5 public interface HelpExample 6 { 7 @Option int getCount(); 8 9 @Option(description = "your email address", pattern = "^[^\\S@]+@[\\w.]+$") String getEmail(); 10 11 @Option(description = "the location of something") String getLocation(); 12 13 @Option(description = "a pattern", shortName = "p") String getPattern(); 14 15 @Option(description = "many aliases", shortName = { "m", "n" }, longName = { "firstLongName", "secondLongName" }) String getManyNames(); 16 17 @Option(helpRequest = true, description = "display help", shortName = "h") boolean getHelp(); 18 }