Commands
Summary
Dendron Plugin Command Execution
Lifecycle
Initialization
run(args) {
sanityCheckResp = @sanityCheck
if sanityCheckResp {
// throw error
}
inputs = gatherInputs(args)
if !inputs return
opts = @enrichInputs(inputs)
if !opts return
@execute(merge(opts, args))
@showResponse(resp)
}
On Error
catch(error) {
// this prints to stdout
Logger.error(error)
}
Exceptions
Any uncaught exceptions in a child command will be caught and logged by BaseCommand
Lookup
Children
Backlinks