sidir 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -25,6 +25,8 @@ Use help to print available commands
25
25
  sidir / > help
26
26
  cd <item> - change to directory at <item>
27
27
  ls - list available simulators
28
+ show - open Finder here
29
+ exit - exit sidir
28
30
 
29
31
  Once you have cd'd into the context of a simulator you'll have more options available
30
32
 
@@ -32,8 +34,10 @@ Once you have cd'd into the context of a simulator you'll have more options avai
32
34
  cd <item> - open finder at <item>
33
35
  cd .. - move back to simulators
34
36
  ls - list available applications
37
+ show - open Finder here
35
38
  rm <item> - delete the application <item> and all associated data
36
39
  reset <item> - clean all paths in <item> as if the app is freshly installed
40
+ exit - exit sidir
37
41
 
38
42
  An example session might look something like (horizontal space added for clarity)
39
43
 
@@ -89,6 +89,7 @@ module Sidir
89
89
  cd <item> - open finder at <item>
90
90
  cd .. - move back to simulators
91
91
  ls - list available applications
92
+ show - open Finder here
92
93
  rm <item> - delete the application <item> and all associated data
93
94
  reset <item> - clean all paths in <item> as if the app is freshly installed
94
95
  help
@@ -25,7 +25,7 @@ module Sidir
25
25
  args = line.split
26
26
  cmd = args.shift
27
27
 
28
- break if cmd.nil?
28
+ break if cmd.nil? || cmd == 'exit'
29
29
 
30
30
  if current_context.available_command? cmd
31
31
  self.current_context = current_context.execute_command cmd, args
@@ -19,6 +19,7 @@ module Sidir
19
19
  puts <<-help
20
20
  cd <item> - change to directory at <item>
21
21
  ls - list available simulators
22
+ show - open Finder here
22
23
  help
23
24
  self
24
25
  end
@@ -1,3 +1,3 @@
1
1
  module Sidir
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidir
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: