sidir 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/README.md +45 -18
- data/lib/sidir/applications_context.rb +5 -5
- data/lib/sidir/version.rb +1 -1
- metadata +1 -1
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,24 +1,20 @@
|
|
1
|
-
#
|
1
|
+
# Sidir
|
2
2
|
|
3
3
|
iOS Simulator directory explorer. This gem is a personal tool intended to make it slightly easier to navigate/manage the iOS Applications directory
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
7
|
+
Install it yourself as:
|
8
8
|
|
9
|
-
gem
|
10
|
-
|
11
|
-
And then execute:
|
12
|
-
|
13
|
-
$ bundle
|
14
|
-
|
15
|
-
Or install it yourself as:
|
16
|
-
|
17
|
-
$ gem install sider
|
9
|
+
$ gem install sidir
|
18
10
|
|
19
11
|
## Usage
|
20
12
|
|
21
|
-
sidir is a quick, dirty experiment that attempts to use commands with similar semantics to those in common shells to
|
13
|
+
sidir is a quick, dirty experiment that attempts to use commands with similar semantics to those in common shells to add contextual navigation of the iOS sims directories. The main reason for sidir is because Applications are stored under unique hashes in the Applications directory, which makes this a pain to navigate in finder, especially if you have lots of apps installed in your simulators.
|
14
|
+
|
15
|
+
Start at your terminal with
|
16
|
+
|
17
|
+
sidir
|
22
18
|
|
23
19
|
At which point you'll get a simple prompt
|
24
20
|
|
@@ -33,11 +29,42 @@ Use help to print available commands
|
|
33
29
|
Once you have cd'd into the context of a simulator you'll have more options available
|
34
30
|
|
35
31
|
sidir /5.1 > help
|
36
|
-
cd
|
37
|
-
cd
|
38
|
-
ls
|
39
|
-
rm
|
40
|
-
reset
|
32
|
+
cd <item> - open finder at <item>
|
33
|
+
cd .. - move back to simulators
|
34
|
+
ls - list available applications
|
35
|
+
rm <item> - delete the application <item> and all associated data
|
36
|
+
reset <item> - clean all paths in <item> as if the app is freshly installed
|
37
|
+
|
38
|
+
An example session might look something like (horizontal space added for clarity)
|
39
|
+
|
40
|
+
sidir
|
41
|
+
|
42
|
+
sidir / > ls
|
43
|
+
4.3.2
|
44
|
+
5.0
|
45
|
+
5.1
|
46
|
+
|
47
|
+
sidir / > cd 5.1
|
48
|
+
|
49
|
+
sidir /5.1 > ls
|
50
|
+
Animations
|
51
|
+
Lines
|
52
|
+
Testing
|
53
|
+
hello_world
|
54
|
+
|
55
|
+
sidir /5.1 > reset Testing
|
56
|
+
/Users/paul/Library/Application Support/iPhone Simulator/5.1/Applications/927BF49B-95ED-44AF-BC98-A8FB6E49571A
|
57
|
+
cd Library/Caches
|
58
|
+
rm -r Snapshots
|
59
|
+
cd -
|
60
|
+
|
61
|
+
sidir /5.1 > rm Testing
|
62
|
+
All data associated with "Testing" will be permanently deleted.
|
63
|
+
Are you sure?[yn]
|
64
|
+
y
|
65
|
+
Testing deleted
|
66
|
+
|
67
|
+
sidir /5.1 > exit
|
41
68
|
|
42
69
|
## Contributing
|
43
70
|
|
@@ -51,7 +78,7 @@ Once you have cd'd into the context of a simulator you'll have more options avai
|
|
51
78
|
|
52
79
|
- Currently the app it's hard coded to load at
|
53
80
|
|
54
|
-
|
81
|
+
~/Library/Application Support/iPhone Simulator/
|
55
82
|
|
56
83
|
this obviously is less than ideal
|
57
84
|
|
@@ -86,11 +86,11 @@ module Sidir
|
|
86
86
|
|
87
87
|
def help args
|
88
88
|
puts <<-help
|
89
|
-
cd
|
90
|
-
cd
|
91
|
-
ls
|
92
|
-
rm
|
93
|
-
reset
|
89
|
+
cd <item> - open finder at <item>
|
90
|
+
cd .. - move back to simulators
|
91
|
+
ls - list available applications
|
92
|
+
rm <item> - delete the application <item> and all associated data
|
93
|
+
reset <item> - clean all paths in <item> as if the app is freshly installed
|
94
94
|
help
|
95
95
|
self
|
96
96
|
end
|
data/lib/sidir/version.rb
CHANGED