Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(create): support org package, remove template list #22

Merged
merged 1 commit into from
Feb 22, 2019

Conversation

paradite
Copy link
Contributor

@paradite paradite commented Feb 21, 2019

screenshot 2019-02-21 at 3 48 47 pm

@codecov
Copy link

codecov bot commented Feb 21, 2019

Codecov Report

Merging #22 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #22   +/-   ##
======================================
  Coverage    90.9%   90.9%           
======================================
  Files           2       2           
  Lines          11      11           
======================================
  Hits           10      10           
  Misses          1       1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9feeea3...e410c36. Read the comment docs.

@@ -62,16 +57,14 @@ program.parse(process.argv);
/**
* Validation
*/
if (typeof rawDirectory === 'undefined') {
console.log(chalk.red('Please specify a directory for the new project.'));
if (typeof rawTemplate === 'undefined') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.arguments('<template>') 是没法保证必参数必须填,所以在这里确认吗。

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

后面 commander 可以可以改成 yargs,优先级不高。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhangyuheng
Copy link
Contributor

试了几个 generator 都可以好了,发个小版本

然后修复下 apfe 命令提示里面的多余的内容

@paradite paradite merged commit 8350481 into master Feb 22, 2019
@paradite paradite deleted the support-org-supply-template branch February 22, 2019 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants