mkalias 0.1.8 → 1.0.0

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -4
  3. data/bin/mkalias +14 -3
  4. data/lib/mkalias/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 069677b180ab50f66ae2ddf82ad06b69e668a829
4
- data.tar.gz: b349857319e75e075572053630e6438c6e02e9a7
3
+ metadata.gz: 47afe95b6d21718aa2ddc38cff039240ad752df6
4
+ data.tar.gz: ce17f2e6812e504fbbab696d3db1f67121d1f18b
5
5
  SHA512:
6
- metadata.gz: a601e27c7c47b5764721d60169e24715246fa88caacd2085842db0db6fa673c975baba53daab9b12287e8a70a3218565951da00e014a0c0f329b74cf22d9f4e9
7
- data.tar.gz: e8330f81d6fe54b6445aca204cc7b84746958f34861578f225b700bea5e9593ef0921a2da81adbbb220c97af05066e96dd6288e20dbaf0340d7f58c762c66ba1
6
+ metadata.gz: 5ca63634a5aa842e18746706c1fa3ba177dae213820a6c2b3672c9aa1aca59e3c0764068d06d1f79f8ae22feab8904d39c7e504e25bf9bc8825a7e7c9f48e4a6
7
+ data.tar.gz: 78cf09237c450e027401c2eb6c7c3f9cd9535271a92bc6f0d6c63aaa24ff1e9b07f896177119d442f7fbc30833ba206fc3996d9fcaeb95ea782484095b7118a1
data/README.md CHANGED
@@ -22,10 +22,22 @@ Or install it yourself as:
22
22
  ## Usage
23
23
 
24
24
  run: $ mkalias [option]
25
- option: new -> mkalias new [alias] [command] [command 2]...[command n]
26
- option: list -> mkalias list
27
- option: show -> mkalias show [alias]
28
- option: remove -> mkalias remove [alias]
25
+
26
+ option: new -> mkalias new [alias] [command 1] [command 2] ... [command n]
27
+ - Create a new alias to run the commands
28
+
29
+ option: list -> mkalias list
30
+ - List all alias
31
+
32
+ option: show -> mkalias show
33
+ - Show commands of all alias
34
+
35
+ option: show -> mkalias show [alias 1] [alias 2] ... [alias n]
36
+ - Show commands of the specified alias
37
+
38
+ option: remove -> mkalias remove [alias 1] [alias 2] ... [alias n]
39
+ - Remove the specified alias
40
+
29
41
  Attention: To make alias with args use #. Example:
30
42
  $ mkalias new [alias] "echo #1 #2 #3"
31
43
  Then you can use: $ [alias] arg1 arg2 arg3
data/bin/mkalias CHANGED
@@ -7,12 +7,23 @@ VALID_OPTIONS = ['new', 'list', 'show', 'remove']
7
7
 
8
8
  def usage
9
9
  puts "Usage: mkalias [option]"
10
+ puts ""
10
11
  puts "option: new \t -> mkalias new [alias] [command 1] [command 2] ..." \
11
12
  " [command n]"
13
+ puts "- Create a new alias to run the commands"
14
+ puts ""
12
15
  puts "option: list \t -> mkalias list"
13
- puts "option: show \t -> mkalias show [alias]"
14
- puts "option: remove \t -> mkalias remove [alias]"
15
- puts "\n"
16
+ puts "- List all alias"
17
+ puts ""
18
+ puts "option: show \t -> mkalias show"
19
+ puts "- Show commands of all alias"
20
+ puts ""
21
+ puts "option: show \t -> mkalias show [alias 1] [alias 2] ... [alias n]"
22
+ puts "- Show commands of the specified alias"
23
+ puts ""
24
+ puts "option: remove \t -> mkalias remove [alias 1] [alias 2] ... [alias n]"
25
+ puts "- Remove the specified alias"
26
+ puts ""
16
27
  puts "Attention: To make alias with args use #. Example:"
17
28
  puts " $ mkalias new [alias] \"echo #1 #2 #3\""
18
29
  puts " - Then you can use: $ [alias] arg1 arg2 arg3"
@@ -1,3 +1,3 @@
1
1
  module Mkalias
2
- VERSION = "0.1.8"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mkalias
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luciano Prestes Cavalcanti