thimble
v1.0.5
Published
A scaffolding tool that grows with you
Downloads
20
Maintainers
Readme
thimble
A scaffolding tool that grows with you
![]
TODO
- Add the remaining commands
- [x] USAGE (with markdown-cli support)
- [x] PROMPT (with markdown-cli support)
- [x] CONFIRM (with markdown-cli support)
- [x] MERGETOOL
- [x] RENAME
- [x] PASSWORD
- [x] WARN
- [x] INFO
- [x] TEMPLATE
- [x] MAP
- [x] Clean-up the prompt (PROMPT, CONFIRM)
- [x] treeify before and after filesystem states
- [x] Setup the thimble-run and examples
- [x] thimble-setup(1) & thimble.state support
- [x] Support
plan
and better logging - [x] Support defaults in PROMPT params
- [x] Support formatted commands
- [x] Support thimble.yml file
- [x] thimble-get(1) support
- [x] thimble-list(1) support
- [x] thimble-setup(1) with remote support & run support
- [x] thimble-reveal(1)
- [x] TRANSFER => ADD
- [x] Fix command tests
- [x] Cleanup NPM dependencies
- [x] 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