rcd 0.0.0 → 0.0.1

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 (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: