Skip to content

Latest commit

 

History

History
76 lines (43 loc) · 1.67 KB

README.md

File metadata and controls

76 lines (43 loc) · 1.67 KB

Sources

1. CheatSh

cheatsh.CheatSh implements radium.Source using cheat.sh as the source of information.

Examples:

radium query "append file in go"

radium query "append file" -a language:go

radium query "open socket in java" -a nocolor

Attributes:

  • nocolor - Specifying this will force cheat.sh to send non-colored snippets (appends ?T query param)
  • language - Programming language (recommended to use append file in go format instead of this tag)

2. Tldr

sources.TLDR implements radium.Source using tldr.

Examples:

radium query "ls" --sources "tldr"

radium query "dir" --sources "tldr" -a platform:windows

Attributes:

  • platform - Specifying this will limit the lookup scope to platform specific directories in tldr

3. Wikipedia

wikipedia.Wikipedia implements radium.Source using Wikipedia.

Examples:

radium query "ls" --sources "wiki"

radium query "hindi" --sources "wikipedia" -a language:hi

Attributes:

  • language - Return results in specified language. (e.g., -a language:hi will look up in https://hi.wikipedia.org/wiki)

4. DuckDuckGo

duckduckgo.DuckDuckGo implements radium.Source using DuckDuckGo Instant Answers API.

Examples:

radium query "apple inc" --sources "ddg"

radium query "spacex" --sources "duckduckdgo" 

5. LearnXInYMinutes

sources.LearnXInY implements radium.Source using learnxinyminutes.

Examples:

radium query "dart" --sources "lxy"