nlptools.core

-main

(-main & args)

cli-options

commands

commands-help

(commands-help)

error-msg

(error-msg errors)
Generate the errors text.

Args:
  errors (vector): cli generated errors string collection

Returns:
   (string): the errors text.

exit

(exit status msg)
Exit application after displaing a message.

Args:
  status (int): the exit code
  msg (string): text to display/log

print-msg

(print-msg options msg)
Print informal messages on the console.

Args:
  options (map):  options map, used key :quiet
  msg (string): the message to display

Returns:
  nothing

syntax-help

(syntax-help)

try-require

(try-require cmd)

usage

(usage options_summary)
Generate the usage text.

Args:
  options_summary (string): cli generated options help

Returns:
  (string): the usage text.