PlatinaWorld
platina_world Creates platina world in a moment
Installation
Add this line to your application's Gemfile:
gem 'platina_world'And then execute:
$ bundleOr install it yourself as:
$ gem install platina_worldUsage
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 $HOME/.platina_world/ruby.yml
- lib:
- paltinaworld:
- paltinaworld.rb
- spec:
- paltinaworld:
- platinaworld_spec.rb
- spec_helper.rb
- .rspec
- .gitignoreand run as below
$ platinaworld rubyContents
If you want to create file which has contents, then use @ literal as below.
- .rspec@https://filepath.com
- .gitignore@$HOME/.platina_world/t/ruby/.gitignorethen create .rspec file which contents get from http://filepaht.com, and .gitignore file which contents get from $HOME/.platina_world/t/ruby/.gitignore.paltinaworld
TODO
- dry-run
- logger
- error class
- check file exist or not
- dot file
- usage
- has contents( @postion syntax ?)
- manager spec
- json parse
- tree command json parse
- easy format