Skip to content

Commit

Permalink
Include tutorial template alias
Browse files Browse the repository at this point in the history
  • Loading branch information
0xGabi committed Mar 1, 2019
1 parent de206c4 commit 946ae38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/create-aragon-app/src/commands/create-aragon-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ exports.builder = yargs => {
bare: 'aragon/aragon-bare-boilerplate',
react: 'aragon/aragon-react-boilerplate',
'react-kit': 'aragon/aragon-react-kit-boilerplate',
tutorial: 'aragon/your-first-aragon-app',
}

if (!tmpl.includes('/')) {
Expand Down Expand Up @@ -67,6 +68,7 @@ exports.handler = function({ reporter, name, template, silent, debug }) {
task.output = 'Initiliazing arapp.json and removing Git repository'
await prepareTemplate(basename, name)
},
enabled: () => !template.includes('your-first-aragon-app'),
},
{
title: 'Installing package dependencies',
Expand Down

0 comments on commit 946ae38

Please sign in to comment.