2015-11-02 59 views

回答

3

可以使用find方法來查找現有exit命令,然後使用description方法來編輯它的幫助說明:

const exit = vorpal.find('exit'); 
if (exit) { 
    exit.description('My custom help description'); 
}