Project

issen

0.0
No commit activity in last 3 years
No release in over 3 years
Issen is files and directories generator by Emmet-like syntax.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
~> 2.14.1
~> 0.8.2

Runtime

~> 4.0.2
 Project Readme

Issen

Gem Version Build Status Coverage Status

Issen is files and directories generator by Emmet-like syntax.

Installation

Add this line to your application's Gemfile:

gem 'issen'

And then execute:

$ bundle

Or install it yourself as:

$ gem install issen

Syntax List

syntax mean
~ nest file or directory inside
+ to place file or directory on the same level
- to place file or directory on the same level - 1

Usage

create Issenfile

issen init

Issenfile

# encoding: utf-8

# output directory
# output_dir is required
# output_dir allow only String
# output_dir's default value => "output directory name"
output_dir "output directory name"

edit Issenfile

Issenfile

# encoding: utf-8
output_dir "output"

output examples

  • 1directory case to create directory, 'd_xxxx'. xxx equals directory_name
issen e 'd_hoge'
└─output
   └─hoge
  • file case
issen e 'hoge.txt'
└─output
   └─hoge.txt
  • > case
issen e 'd_hoge1~hoge2.txt'
└─output
   └─hoge1
           hoge2.txt
    • case
issen e 'd_hoge1+hoge2.txt'
└─output
   │  hoge2.txt
   │
   └─hoge1
  • ^ case
issen e 'd_hoge1~d_hoge2~hoge3.txt-hoge2_2.txt'
└─output
    └─hoge1
        │  hoge2_2.txt
        │
        └─hoge2
                hoge3.txt

History

  • version 0.0.1 : first release.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request