Is there a command line option for the keywords to search for in ndex?
Yes, you can “ndex db word1 word2 word3 …”, or, you can “ndex db < myfile", where myfile contains the words word1, word2, word3, ... one word per line/record. The database filename is a required argument. Any other non-switch arguments are regarded as words to look up; if there are none, ndex expects the words to come from stdin, one word per record/line.