Command line module. Generate domain documentation into single HTML file. Command line usage:
ubcli generateDoc -?
Methods
# convertServerSideParamsToAPI (snippet: object, eName: string, mName: string) 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
# generateJsDocSnippets (domain: UBDomain) inner
Generate JsDoc snippets for current domain. npx ubcli generateDoc
is executed from folder with ubConfig
Arguments:
domain
: UBDomain