/slangopedia-cli

A CLI for slangopedia.se

Primary LanguageJavaScriptMIT LicenseMIT

slangopedia-cli

A CLI for slangopedia.se

Install

$ npm install -g slangopedia-cli

Usage

$ slangopedia [word] [options]

Options

--single, -s

Display a single definition

--minimal, -m

Display word and definition only

--plain, -p

Display without text formatting

--json, -j

Output in JSON format

--include-comments, -c

Include comments in JSON output (only applicable together with --json, -j)

--indent-json, -i

Use indentation in JSON output (only applicable together with --json, -j)

--language [languageCode], -l [languageCode]

Set language. Currently en and sv are available

--version, -v

Display package version number

--help, -h

Display help message