Permalink
Browse files

Updated docs and released 1.2

  • Loading branch information...
1 parent d170fe4 commit 7419e4e7dff97c9b4557f4d9a55e41aa9150191f @Raynes committed Jul 14, 2010
Showing with 9 additions and 4 deletions.
  1. +5 −1 README.markdown
  2. +1 −1 project.clj
  3. +1 −1 src/gotmilk/core.clj
  4. +2 −1 src/gotmilk/repos.clj
View
@@ -6,6 +6,8 @@ A little tool for working with Github via the command-line. Sometimes quicker th
gotmilk works by using a small set of command with lots of options for each to accomplish different things. I'll list every option for each command here.
+NOTE: You can also run all of these commands in gotmilk's shell (REPL) mode. You can start gotmilk in this mode with `gotmilk --shell`, try it out!
+
### gotmilk repo
example: `gotmilk repo --fork nixeagle nisp`
@@ -69,8 +71,10 @@ for showing all the repos a user has (--show-repos): Supply the username. Option
for showing a repo's tags (--show-tags): Supply the name of the user who owns the repo and the
repo's name.
-Will default to --create
+for cloning a repo (--clone): Supply the name of the user who owns the repo and the name of the
+repo. Will not show the status information normally shown by git.
+Will default to showing info about a repo.
### gotmilk user
View
@@ -1,4 +1,4 @@
-(defproject gotmilk "0.2.0-SNAPSHOT"
+(defproject gotmilk "0.2.0"
:description "A little tool for working with Github via the command line."
:dependencies [[org.clojure/clojure "1.2.0-master-SNAPSHOT"]
[org.clojure/clojure-contrib "1.2.0-SNAPSHOT"]
@@ -4,7 +4,7 @@
[clojure.java.io :only [file copy]])
(:require [clojure.string :as s]))
-(def *version* "0.2.0-SNAPSHOT")
+(def *version* "0.2.0")
(defn get-config [parameter]
(apply str (butlast (:out (sh "git" "config" "--global" (str "github." parameter))))))
@@ -90,7 +90,8 @@ Will default to --create"
:show-network [one two] (-> (map generate-clone-urls (show-network one two)) (take-and-format (:results options)))
:show-pushable [] (-> (map generate-clone-urls (show-pushable)) (take-and-format (:results options)))
:show-repos [one] (-> (map generate-clone-urls (show-repos one)) (take-and-format (:results options)))
- :show-tags [one two] (-> (show-tags one two) format-result)
+ :show-tags [one two] (let [tags (show-tags one two)]
+ (format-result (if (seq tags) tags "Repo doesn't have any tags.")))
:create [one] (-> (create-repo one
:description two
:homepage three

0 comments on commit 7419e4e

Please sign in to comment.