rosetta

command module
v0.0.0-...-26c31b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2016 License: MIT Imports: 7 Imported by: 0

README

Rosetta-snippets-cli

Go Report Card Build Status

Use this tool to search code snippets on http://rosettacode.org/wiki/Rosetta_Code!

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 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

Extra information
  • Rosetta caches the searches!

Documentation

Overview

Rosetta is a CLI application for interacting with rosettacode.org Can be used as a backend for a plugin for any text editor

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL