public
Fork of wycats/textmate
Description: Command-line package manager for textmate. Like rubygems for TextMate Bundles
Homepage: http://www.yehudakatz.com
Clone URL: git://github.com/subtleGradient/textmate.git
Search Repo:
Renamed the methods installed => list, list => remote
  It makes so much more sense to me to keep it as much like rubygems 
  standard keywords as possible.
  I don't know of an existing standard for listing remote 
  bundles/gems/whatever so I just used "remote"
    seems relatively obvious what it should do, no?
Wed May 14 20:50:22 -0700 2008
commit  ed74b1842e453fad7a02d2286abf859f7deb01ff
tree    a1c19e3ecaec0cce1448fc12cac0f5b17ea86be3
parent  391b75690ad42e87959c65731f3313ab1ce19e39
...
6
7
8
9
10
 
 
 
11
12
13
...
17
18
19
20
21
 
 
22
23
24
...
92
93
94
95
96
...
6
7
8
 
 
9
10
11
12
13
14
...
18
19
20
 
 
21
22
23
24
25
...
93
94
95
 
 
0
@@ -6,8 +6,9 @@
0
 
0
 class TextmateInstaller < Thor
0
   
0
- desc "list [SEARCH]", "Lists all the matching remote bundles"
0
- def list(limit = "")
0
+ # CHANGED: renamed list to remote. Could there be a better name?
0
+ desc "remote [SEARCH]", "Lists all the matching remote bundles"
0
+ def remote(limit = "")
0
     limit = Regexp.new(".*#{limit}.*", "i")
0
     puts "\nBundles\n-------\n"
0
     results = %x[svn list #{svn_for("bundles")}]
0
@@ -17,8 +18,8 @@
0
     puts results.map {|x| x.split(".")[0]}.select {|x| x =~ limit}.join("\n")
0
   end
0
   
0
- desc "installed", "lists all the bundles installed locally"
0
- def installed()
0
+ desc "list", "lists all the bundles installed locally"
0
+ def list()
0
     bundles_paths.each do |location,bundles_path|
0
       puts location.to_s << " Bundles\n" << location.to_s.gsub(/./,'-') << '--------'
0
       puts Dir["#{e_sh bundles_path}/*.tmbundle"].map {|x| x.split("/").last.split(".").first}.join("\n")
0
@@ -92,6 +93,4 @@
0
 end
0
 
0
 TextmateInstaller.start
0
-
0
-# FIXME: Rename methods to more closely match rubygems

Comments

    No one has commented yet.