thimble
A scaffolding tool that grows with you
![]
TODO
- Add the remaining commands
- USAGE (with markdown-cli support)
- PROMPT (with markdown-cli support)
- CONFIRM (with markdown-cli support)
- MERGETOOL
- RENAME
- PASSWORD
- WARN
- INFO
- TEMPLATE
- MAP
- Clean-up the prompt (PROMPT, CONFIRM)
- treeify before and after filesystem states
- Setup the thimble-run and examples
- thimble-setup(1) & thimble.state support
- Support
plan
and better logging - Support defaults in PROMPT params
- Support formatted commands
- Support thimble.yml file
- thimble-get(1) support
- thimble-list(1) support
- thimble-setup(1) with remote support & run support
- thimble-reveal(1)
- TRANSFER => ADD
- Fix command tests
- Cleanup NPM dependencies
- Better logging for commands like RUN
Later
- Split out commands into thimble-kit
- thimble-show(1)
Example Flows
module: Create a new node_module
- Ask a few questions:
- What would you like to name this module?
- What does this module do?
- Is this a private module?
- What's your email?
- What's your name?
- Write a bunch of files:
TRANSFER('./module', '.', answers)
- npm install
RUN('npm', 'install')
- Tell users how to get started:
USAGE
This is how to use this module in a nice way
lint: Add standard linting to the project
- Write package.json
- Run npm install
- Tell users how to use this
mocha: Add mocha testing to your project
- Take a look at the names in your src/ directory
TEMPLATE test/\*.js mocha/test.js => TEMPLATE('test/*.js', 'mocha/test.js')
- Write all those files to test/{file.name}.js with a template
- Write to package.json & mocha.opts
- Run npm install
- Tell the user how to use this
circle: Add circleci.com to your project
- Prompt to fill in CircleCI token
- Prompt to fill in environment variables
- Enable the project in CircleCI
POST https://circleci.com/api/create { test: $test }
POST()
- Write circle.yml script
- Write run scripts to package.json
- Add badge to Readme.md
- Tell users how to use it
coveralls: Add coveralls.io to the project
- Fill in any environment variables and tokens
- Enable coveralls via the API
- Update one of the CIs to include the build
- Add badge to Readme.md
- Tell users how to do it
greenkeeper: Add greenkeeper.io to your project
- Figure out what the repository is
- Run greenkeeper login
- Run greenkeeper enable
- Tell users how to use it
drone: Add drone.io to your project
aircover: Add aircover.co to your project
docker: Create a Dockerfile for a node.js project
flow: Add flowtype to your project
surge: Publish your site easily with surge.sh
- Ask for the domain
- Write to package.json
- Write CNAME file
- Run surge
- Tell users how to use it
docpress: Create beautiful sites from markdown files
License
MIT