0.0
No commit activity in last 3 years
No release in over 3 years
Creating platina world in a moment
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.9
~> 10.0
>= 0
 Project Readme

PlatinaWorld

Build Status Test Coverage

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 $HOME/.platina_world/ruby.yml

- lib:
    - paltinaworld:
    - paltinaworld.rb
- spec:
    - paltinaworld:
        - platinaworld_spec.rb
    - spec_helper.rb
- .rspec
- .gitignore

and run as below

$ platinaworld ruby

Contents

If you want to create file which has contents, then use @ literal as below.

- .rspec@https://filepath.com
- .gitignore@$HOME/.platina_world/t/ruby/.gitignore

then 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