def cmd_daemon(opts):
if opts.data_dir is None:<EOL><INDENT>raise BlockadeError("<STR_LIT>")<EOL><DEDENT>rest.start(data_dir=opts.data_dir, port=opts.port, debug=opts.debug,<EOL>host_exec=get_host_exec())<EOL>
Start the Blockade REST API