Rosetta-snippets-cli
Cli application for http://rosettacode.org/wiki/Rosetta_Code, it opens the webpage or returns the url from the search term and also goes to the specific language
$ go get github.com/barthr/rosetta
Examples
Settings
Setting a default language
rosetta language Go
Displaying ur current settings
rosetta settings
Reset settings
rosetta reset
Flags
search:
-r : only return url
-l : specify language (overrides the default language)
Search
Search on hello with language java and open Web browser
rosetta search -l java hello
Search on hello with language java and return the url
rosetta search -l java -r hello
Search on hello with default language settings and only return the url
rosetta search -r hello
After entering the search u will be prompted to choose one from the selection
- Rosetta caches the searches!