openthesaurus_cli 0.0.7 copy "openthesaurus_cli: ^0.0.7" to clipboard
openthesaurus_cli: ^0.0.7 copied to clipboard

An cross platform [openthesaurus](https://openthesaurus.de) command line application.

openthesaurus-cli #

This is a cross platform command line application for accessing the API of openthesaurus.

Usage #

dart #

Run program with dart

dart run src/main.dart <query>

Run as binary #

  • macOS, linux: ./ot.exe <query>
  • windows : ot.exe <query>

Build yourself #

You can also build it yourself with

dart compile exe bin/ot.dart -o ot

which creates a binary file ot and which you can add into your ~/bin folder.

Options #

Run openthesaurus with the following options

ot [options] <query>

Options:
-a, --similar                Return similar spelled words, helpful for misspellings
-b, --sub                    Return words that are more specific to the query
-e, --baseform               Return the base form of the queried word
-f, --from=<NUMBER>          Return substrings with the starting position. Can only be used with '--start' flag
-m, --maxResults=<NUMBER>    Limit the number of substring results. Can only be used with '--start' flag
-p, --sup                    Return words that are more generic to the query
-s, --startswith             Return words that have the same starting letters as the query

Acknowledgements #

This program has been inspired by radomirbosak/duden.

1
likes
140
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

An cross platform [openthesaurus](https://openthesaurus.de) command line application.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, chalkdart, openthesaurus

More

Packages that depend on openthesaurus_cli