PlatinaWorld
platina_world Creates platina world in a moment
Installation
Add this line to your application's Gemfile:
gem 'platina_world'
And then execute:
$ bundle
Or install it yourself as:
$ gem install platina_world
Usage
If you want to create those directories and files
.
├── .gitignore
├── .rspec
├── lib
│ ├── platina_world
│ └── platina_world.rb
└── spec
├── platina_world
│ └── platinaworld_spec.rb
└── spec_helper.rb
Create a below file as pw.yml
- lib:
- paltinaworld
- paltinaworld.rb
- spec:
- paltinaworld:
- platinaworld_spec.rb
- spec_helper.rb
- .rspec
- .gitignore
and run as below
$ platinaworld -p pw.yml
TODO
- [x] dry-run
- [x] logger
- [x] error class
- [x] check file exist or not
- [ ] has contents
- [ ] json parse
- [ ] tree command json parse
- [ ] easy format