Usage¶
Cambridge can be now used in two modes:- file mode (default)
- word mode
File mode¶
In file mode first argument of script is name of file containing words we need meaning.
Example:
We have file my_words.txt containg:
women dragon cat
so we run program:
ruby CambridgeCli.rb my_words.txt
Word mode¶
Gets meaning just for one word. Is as good as web interface, but for CLI addicts. To use it option -w is neccessary.
Example:
ruby CambridgeCli.rb -w duck