itcsscli 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4956e3ec5ea69d47e2c97569413d43bc6e72e2e1
4
- data.tar.gz: 058c9edc263a9c88c9185643e04e02c3b23de78d
3
+ metadata.gz: 17a417aed384e8e84ce30d1a3e5a05a0d40de86f
4
+ data.tar.gz: e1b41585f6e46c969e63014a8b83505e1c1be8bd
5
5
  SHA512:
6
- metadata.gz: 589179371db5bed85943d9f2ee853288ee94c488b8742df3f981c71248444e9047102b009ed0bc2325197bbabc0573374931ff1a748599da57381a87e7905613
7
- data.tar.gz: 7a9fbcc008b93703deaf43c7d58a56be68abe1b8fcae7c92a9c85eeb8b0937a60391c0e68825fc9faa5bb22e5524441ae57f2425896bc98130000397ec4a0880
6
+ metadata.gz: 7d331f329e4deabe37f845215c5ce36217b11c879ed62abee70bfe7bfc076d9f3cfcc22213e5420fa2e8a54e8421920069497a588867f024dee2819c877fe415
7
+ data.tar.gz: 52954c8a30a90cfbd7050f8007eb595229326fe785316d8c587ef0fdb011e9c27a0389a1591c88dc99b9510e7fe9611864bf1d3cbc50b4d79aca7c7dcd41ad6d
@@ -135,7 +135,7 @@ def write_itcss_map_file content, nav
135
135
  puts "The documentation has been successfully generated.".green
136
136
  puts "create #{@ITCSS_DOC_FILE}".green
137
137
  puts "opening #{@ITCSS_DOC_FILE}...".yellow
138
- puts `open #{@ITCSS_DOC_FILE}`
138
+ `open #{@ITCSS_DOC_FILE}`
139
139
  end
140
140
  end
141
141
 
@@ -1,3 +1,3 @@
1
1
  module Itcsscli
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/itcsscli.rb CHANGED
@@ -28,7 +28,7 @@ module Itcsscli
28
28
  "trumps" => "Overrides and helper classes."
29
29
  }
30
30
 
31
- @ITCSS_COMMANDS = ['init', 'install', 'new', 'n', 'inuit', 'update', 'u', 'doc', 'help', 'h', '-h', 'version', 'v', '-v']
31
+ @ITCSS_COMMANDS = ['init', 'install', 'new', 'n', 'inuit', 'update', 'u', 'doc', 'd', '-d', 'help', 'h', '-h', 'version', 'v', '-v']
32
32
 
33
33
  @ITCSS_COMMANDS_DESCRIPTION = [
34
34
  " COMMAND ALIAS FUNCTION ",
@@ -36,7 +36,8 @@ module Itcsscli
36
36
  "itcss install [filenames] | | Creates an example of ITCSS structure in path specified in #{@ITCSS_CONFIG_FILE}.",
37
37
  "itcss new [module] [filename] | n | Creates a new ITCSS module and automatically import it into imports file.",
38
38
  "itcss inuit new [inuit module] |inuit n| Add specified inuit module as an itcss dependency.",
39
- "itcss inuit help |inuit h| Add specified inuit module as an itcss dependency.",
39
+ "itcss inuit help |inuit h| Shows all available itcss inuit commands and it's functions.",
40
+ "itcss doc | d, -d | Generate and open itcssdoc.",
40
41
  "itcss update | u | Updates the imports file using the files inside ITCSS structure.",
41
42
  "itcss help | h, -h | Shows all available itcss commands and it's functions.",
42
43
  "itcss version | v, -v | Shows itcsscli gem version installed."
@@ -106,7 +107,7 @@ module Itcsscli
106
107
  itcss_version
107
108
 
108
109
  # $ itcss doc
109
- elsif 'doc' == ARGV[0]
110
+ elsif ['doc', '-d', 'd'].include? ARGV[0]
110
111
  itcss_init_checker
111
112
  initialize_doc
112
113
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itcsscli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kande Bonfim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-14 00:00:00.000000000 Z
11
+ date: 2016-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler