Skip to content

[TRI-1296] feat: CLI dev should work with injected environment variables #509

@matt-aitken

Description

@matt-aitken

Is your feature request related to a problem? Please describe.

The CLI dev command fails if you don't use .env files – instead using something like 1Password to inject the values.

Describe the solution you'd like to see

Make the @trigger.dev/cli first check if the TRIGGER_API_KEY is defined in the current process.

Additional information

This is the relevant code: https://github.com/triggerdotdev/trigger.dev/blob/main/packages/cli/src/utils/getTriggerApiDetails.ts#L36

From SyncLinear.com | TRI-1296

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions