소스 검색

Merge branch 'master' of http://git.bbh/chess/elxr

production
pb 3 년 전
부모
커밋
41af2bb588
2개의 변경된 파일631개의 추가작업 그리고 241개의 파일을 삭제
  1. 2
    1
      cliverse.js
  2. 629
    240
      index.js

+ 2
- 1
cliverse.js 파일 보기

@@ -51,7 +51,7 @@ function nodeShellExec() {
child.stderr.on('data', (chunk) => {
if(messages.join('').indexOf('fatal: not a git repository') > -1) opts.haserrors = true;
messages.push(chunk);
process.stdout.write( chunk )
// process.stdout.write( chunk )
// console.error('stderr e: ' + chunk)
});
}
@@ -90,6 +90,7 @@ function nodeShellExec() {
}

var prompt = function(choices, label, defaultchoice){
// prompt accepts either an array or an object as choices.
var choices = choices || [];
return this.prompter.ask(
`${label} \n` + Object.keys(choices).map(choice => { return ` ${(+choice) + 1}) ${choices[choice]} `}).join('\n') + `\n default ( <= ${ defaultchoice || choices[0]} ) : `

+ 629
- 240
index.js
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


Loading…
취소
저장