rcd 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rcd.rb +8 -0
  2. metadata +1 -1
data/lib/rcd.rb CHANGED
@@ -22,6 +22,14 @@ class Rcd # :nodoc:
22
22
  argv.delete("#{key},#{path}")
23
23
  end
24
24
 
25
+ opts.on('--add-pwd key', :REQUIRED, String, 'Add $(pwd) and a key in rcd_profile') do |key|
26
+ options.key = key
27
+ options.path = Dir.pwd
28
+ options.add_new_path = true
29
+ agv.delete('--add-pwd')
30
+ agv.delete(key)
31
+ end
32
+
25
33
  opts.on('-l', 'List all the saved paths') do
26
34
  options.list_all = true
27
35
  argv.delete('-l')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: