mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Expose AppRunner.run for easily serving from JS apps
* feat: make methods in CliRunner public * change: rename CliRunner to AppRunner * fix: process being passed incorrectly to runCli * feat: expose AppRunner.run for easily serving from JS apps * change: only make run methods on AppRunner public
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
const { CliRunner } = require('..');
|
||||
new CliRunner(process).run();
|
||||
const { AppRunner } = require('..');
|
||||
new AppRunner().runCli(process);
|
||||
|
||||
Reference in New Issue
Block a user