mirror of https://github.com/alibaba/arthas.git
add OptionCompleteHandler, better complete option
parent
b704e7cabd
commit
6a102d61b0
@ -0,0 +1,12 @@
|
||||
package com.taobao.arthas.core.shell.cli;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author hengyunabc 2021-04-29
|
||||
*
|
||||
*/
|
||||
public interface OptionCompleteHandler {
|
||||
boolean matchName(String token);
|
||||
|
||||
boolean complete(Completion completion);
|
||||
}
|
Loading…
Reference in New Issue