註解

如果選項名稱不想與引數名稱相同,可以使用 Option 註解來定義選項名稱。

@Command
public String example(@Option(longNames = "arg") String arg1) {
	return "Hello " + arg1;
}
© . This site is unofficial and not affiliated with VMware.