Last updated:
0 purchases
openthesaurus cli
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>
copied to clipboard
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
copied to clipboard
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
copied to clipboard
Acknowledgements #
This program has been inspired by radomirbosak/duden.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.