commander-pages
v0.2.8
Published
create beautiful websites from the command line
Downloads
10
Readme
Commander Pages
- make websites from the command line.
User Can
- create a gatsby page from the command line
- edit the gatsby theme
index.md
file from the prompt
Install with yarn
- Install the cli along with gatsby and a compatible gatsby theme
yarn add gatsby gatsby-theme-portfolio-cara commander-pages -D
- Run commander-pages to create example files for the gatsby theme.
yarn create-commander-page
- Set the options which are asked in the terminal
- add
.cache
andpublic
to the repo's.gitignore
file - Check if correctly installed with
yarn gatsby develop
- Edit the page by editing
src/pages/markdown/index.md
Roadmap
- make sure that this works well with the gatsby-theme-portfolio-cara.
- deploy and send to Lekoarts for feedback.
- deploy using the
netlify cli
- add more questions to createPagePrompt
- add flags using commander-js to create default processes
- https://github.com/SBoudrias/Inquirer.js
Tutorials i used when creating this
https://docs.npmjs.com/creating-and-publishing-scoped-public-packages