add initial marp implementation with sample content and build configuration
This commit is contained in:
15
node_modules/@marp-team/marp-cli/marp-cli.js
generated
vendored
Executable file
15
node_modules/@marp-team/marp-cli/marp-cli.js
generated
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict'
|
||||
{
|
||||
const prepare = require('./lib/prepare.js')
|
||||
const cli = prepare.cliPrepare()
|
||||
|
||||
if (cli.debug)
|
||||
process.env.DEBUG = `${process.env.DEBUG ? `${process.env.DEBUG},` : ''}${cli.debug}`
|
||||
|
||||
require('./lib/patch.js').patch()
|
||||
require('./lib/marp-cli.js')
|
||||
.cliInterface(cli.args)
|
||||
.then((exitCode) => process.on('exit', () => process.exit(exitCode)))
|
||||
}
|
||||
Reference in New Issue
Block a user