Files
legica-bot/constants/environments.ts
Fran Jurmanović 6ef57924ea legica
2022-03-10 18:53:49 +01:00

4 lines
189 B
TypeScript

export const ENVIRONMENTS = ["development", "testing", "production"];
export const ENVIRONMENT =
ENVIRONMENTS.filter((env) => process?.argv?.includes?.(`--${env}`))?.[0] || "development";