diff --git a/CHANGES b/CHANGES index 54957ee..cd1ae04 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ CHANGES ======= +0.0.2 - Oct 26 2014 + * Support --language, --user, --repo options. + 0.0.1 - Oct 26 2014 * Initial versioned release diff --git a/README.md b/README.md index 63c3497..211390b 100644 --- a/README.md +++ b/README.md @@ -8,21 +8,28 @@ ghs usage ```sh [sona ~]$ ghs --help Usage: - ghs [OPTION] "QUERY"(The search keywords, as well as any qualifiers.) + ghs [OPTION] "QUERY" Application Options: - -s, --sort= The sort field. 'stars', 'forks', or 'updated'. (best match) - -o, --order= The sort order. 'asc' or 'desc'. (desc) + -s, --sort= The sort field. 'stars', 'forks', or 'updated'. (best match) + -o, --order= The sort order. 'asc' or 'desc'. (desc) + -l, --language= searches repositories based on the language they’re written in. + -u, --user= limits searches to a specific user name. + -r, --repo= limits searches to a specific repository. + -v, --version print version infomation and exit. Help Options: - -h, --help Show this help message + -h, --help Show this help message Github search APIv3 QUERY infomation: https://developer.github.com/v3/search/ https://help.github.com/articles/searching-repositories/ + +Version: + ghs 0.0.2 ``` -Exapmle +Example =========== ```sh [sona ~]$ ghs github @@ -74,4 +81,3 @@ function gpr () { ```sh gpr ``` - diff --git a/ghs.go b/ghs.go index 0e514cb..90f9683 100644 --- a/ghs.go +++ b/ghs.go @@ -1,6 +1,6 @@ package main -var version = "0.0.1" +var version = "0.0.2" func main() { args, opts := GhsOptionParser()