Command line module. Generate domain documentation into single HTML file. Command line usage:

   ubcli generateDoc -?

Methods

# convertServerSideParamsToAPI (snippetobject, eNamestring, mNamestring) inner

Mutate a snipped what contains a server-side parameters description into client-side API

  • replace ubMethodParams type -> object
  • removes mParams
  • adds entity & method parameters if not already added

Arguments:

# generateJsDocSnippets (domainUBDomain) inner

Generate JsDoc snippets for current domain. npx ubcli generateDoc is executed from folder with ubConfig

Arguments: