UNPKG

pear-api

Version:

Pear API Base & Integration Module

20 lines (18 loc) 824 B
'use strict' const { flag } = require('paparam') module.exports = [ flag('-v', 'Print version'), flag('--log-level <level>', 'Level to log at. 0,1,2,3 (OFF,ERR,INF,TRC)'), flag('--log-labels <list>', 'Labels to log (internal, always logged)'), flag('--log-fields <list>', 'Show/hide: date,time,h:level,h:label,h:delta'), flag('--log-stacks', 'Add a stack trace to each log message'), flag('--log', 'Label:sidecar Level:2 Fields: h:level,h:label'), flag('--sidecar', 'Boot Sidecar'), flag('--run').hide(), // appling legacy flag('--sandbox').hide(), // appling legacy flag('--appling').hide(), // appling legacy flag('--rti <info>').hide(), flag('--key <key>', 'Advanced. Switch release lines').hide(), flag('--mem', 'Memory mode: RAM corestore').hide(), flag('--dht-bootstrap <nodes>').hide() ]