create-vuepress-site
create-vuepress-site copied to clipboard
Add question to change output directory
Problem
Currently the tool is created to take an optional folderDirectoryName after the command:
yarn create vuepress-site [optionalDirectoryName]
If provided, it will attempt to create a new folder called [optionalDirectoryName] and then drop all of the template files in there.
This is not intuitive and many will miss this.
Proposal
- Remove the optional argument from the command entirely
- CLI prompt should inform user what folder is about to be created. It defaults to
docs - User can specify a different directory that will contain all of the template files