<commit_before>## Installation

Add this line to your application's Gemfile:

```ruby
gem 'itcss_cli'
```

And then execute:

```{r, engine='bash'}
$ bundle
```

Or install it yourself as:

```{r, engine='bash'}
$ gem install itcss_cli
```

## Usage

First, you'll need to set up ITCSS by running:

```{r, engine='bash'}
$ itcss init
```
    
Now go to `itcss.yml` and do your itcss_cli config:

```yml
# Root folder where the ITCSS file structure should be builded.
stylesheets_directory: source/stylesheets

# Base sass file (all ITCSS modules will be imported in it).
stylesheets_import_file: application

# Uncomment to enable inuit modules importing. [ bower or npm ]
# package_manager: bower

# inuit_modules:
#   - tools.functions
#   - settings.defaults
#   - base.page
```

Go ahead and grow your ITCSS structure:
```{r, engine='bash'}
$ itcss new component modals
create source/stylesheets/components/_components.modals.sass
update source/stylesheets/application.sass

$ itcss new trumps helpers
create source/stylesheets/trumps/_trumps.helpers.sass
update source/stylesheets/application.sass
```

## Inuitcss Commands

You can install and automatically import inuit modules via cli:

```{r, engine='bash'}
$ itcss inuit new settings.defaults
using bower to install inuit 'settings.defaults' dependency...
bower inuit-defaults#~0.2.3    install inuit-defaults#0.2.3

inuit-defaults#0.2.3 bower_components/inuit-defaults
update itcss.yml. [added settings.defaults]
update source/stylesheets/application.sass
```

Result at `application.sass`:
```sass
...
// [1] Settings
@import "inuit-defaults/settings.defaults"
...
```

## Creating a full ITCSS structure

```{r, engine='bash'}
$ itcss install example
create source/stylesheets/settings/_settings.example.sass
create source/stylesheets/tools/_tools.example.sass
create source/stylesheets/generic/_generic.example.sass
create source/stylesheets/base/_base.example.sass
create source/stylesheets/objects/_objects.example.sass
create source/stylesheets/components/_components.example.sass
create source/stylesheets/trumps/_trumps.example.sass
update source/stylesheets/application.css.sass
```

If you open the ITCSS's base file now, you'll see that all ITCSS modules are automatically imported into it:
```sass
@charset "utf-8"

// ========================================
//   application.css.sass
// ========================================


// [0] Requirements --- Vendor libraries
// [1] Settings ------- Sass vars, etc.
// [2] Tools ---------- Functions and mixins.
// [3] Generic -------- Generic, high-level styling, like resets, etc.
// [4] Base ----------- Unclasses HTML elements (e.g. `h2`, `ul`).
// [5] Objects -------- Objects and abstractions.
// [6] Components ----- Your designed UI elements (inuitcss includes none of these).
// [7] Trumps --------- Overrides and helper classes.

// ↓ ITCSS_CLI FILE IMPORTING ↓

// [0] Settings
@import "settings/_settings.example.sass"


// [1] Tools
@import "tools/_tools.example.sass"


// [2] Generic
@import "generic/_generic.example.sass"


// [3] Base
@import "base/_base.example.sass"


// [4] Objects
@import "objects/_objects.example.sass"


// [5] Components
@import "components/_components.example.sass"


// [6] Trumps
@import "trumps/_trumps.example.sass"


// ↑ ITCSS_CLI FILE IMPORTING ↑
```

---

# Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/itcss_cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
<commit_msg>Add Development section to README.md<commit_after>## Installation

Add this line to your application's Gemfile:

```ruby
gem 'itcss_cli'
```

And then execute:

```{r, engine='bash'}
$ bundle
```

Or install it yourself as:

```{r, engine='bash'}
$ gem install itcss_cli
```

## Usage

First, you'll need to set up ITCSS by running:

```{r, engine='bash'}
$ itcss init
```
    
Now go to `itcss.yml` and do your itcss_cli config:

```yml
# Root folder where the ITCSS file structure should be builded.
stylesheets_directory: source/stylesheets

# Base sass file (all ITCSS modules will be imported in it).
stylesheets_import_file: application

# Uncomment to enable inuit modules importing. [ bower or npm ]
# package_manager: bower

# inuit_modules:
#   - tools.functions
#   - settings.defaults
#   - base.page
```

Go ahead and grow your ITCSS structure:
```{r, engine='bash'}
$ itcss new component modals
create source/stylesheets/components/_components.modals.sass
update source/stylesheets/application.sass

$ itcss new trumps helpers
create source/stylesheets/trumps/_trumps.helpers.sass
update source/stylesheets/application.sass
```

## Inuitcss Commands

You can install and automatically import inuit modules via cli:

```{r, engine='bash'}
$ itcss inuit new settings.defaults
using bower to install inuit 'settings.defaults' dependency...
bower inuit-defaults#~0.2.3    install inuit-defaults#0.2.3

inuit-defaults#0.2.3 bower_components/inuit-defaults
update itcss.yml. [added settings.defaults]
update source/stylesheets/application.sass
```

Result at `application.sass`:
```sass
...
// [1] Settings
@import "inuit-defaults/settings.defaults"
...
```

## Creating a full ITCSS structure

```{r, engine='bash'}
$ itcss install example
create source/stylesheets/settings/_settings.example.sass
create source/stylesheets/tools/_tools.example.sass
create source/stylesheets/generic/_generic.example.sass
create source/stylesheets/base/_base.example.sass
create source/stylesheets/objects/_objects.example.sass
create source/stylesheets/components/_components.example.sass
create source/stylesheets/trumps/_trumps.example.sass
update source/stylesheets/application.css.sass
```

If you open the ITCSS's base file now, you'll see that all ITCSS modules are automatically imported into it:
```sass
@charset "utf-8"

// ========================================
//   application.css.sass
// ========================================


// [0] Requirements --- Vendor libraries
// [1] Settings ------- Sass vars, etc.
// [2] Tools ---------- Functions and mixins.
// [3] Generic -------- Generic, high-level styling, like resets, etc.
// [4] Base ----------- Unclasses HTML elements (e.g. `h2`, `ul`).
// [5] Objects -------- Objects and abstractions.
// [6] Components ----- Your designed UI elements (inuitcss includes none of these).
// [7] Trumps --------- Overrides and helper classes.

// ↓ ITCSS_CLI FILE IMPORTING ↓

// [0] Settings
@import "settings/_settings.example.sass"


// [1] Tools
@import "tools/_tools.example.sass"


// [2] Generic
@import "generic/_generic.example.sass"


// [3] Base
@import "base/_base.example.sass"


// [4] Objects
@import "objects/_objects.example.sass"


// [5] Components
@import "components/_components.example.sass"


// [6] Trumps
@import "trumps/_trumps.example.sass"


// ↑ ITCSS_CLI FILE IMPORTING ↑
```

---

# Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/itcss_cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## Development
```{r, engine='bash'}
$ rvm gemset create itcsscli.gemspec && rvm gemset use itcsscli.gemspec
```

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

{'fraction_non_alphanumeric': 0.15581031787389266, 'fraction_numerical': 0.0070349140177175615, 'mean_word_length': 4.100996677740864, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6899207', 'n_tokens_mistral': 2532, 'n_tokens_neox': 2359, 'n_words': 721}