update README

This commit is contained in:
Henry
2023-04-10 20:29:55 +01:00
parent c576ea5b67
commit 2831526c72
5 changed files with 4 additions and 23 deletions
+1 -8
View File
@@ -1,4 +1,4 @@
import { Command, Flags } from '@oclif/core'
import { Command } from '@oclif/core'
import path from 'path'
import * as Server from '../index'
import * as DataSource from '../DataSource'
@@ -13,10 +13,6 @@ enum EXIT_CODE {
let processExitCode = EXIT_CODE.SUCCESS
export default class Start extends Command {
static flags = {
mongourl: Flags.string()
}
static args = []
async stopProcess() {
@@ -47,9 +43,6 @@ export default class Start extends Command {
console.error('uncaughtException: ', err)
})
const { flags } = await this.parse(Start)
if (flags.mongourl) process.env.MONGO_URL = flags.mongourl
await (async () => {
try {
this.log('Starting Flowise...')