Skip to content

Feature Request: Add support for custom environment file names #1443

@erakor

Description

@erakor

Description

We are using the Snowplow JavaScript Tracker and the Snowtype CLI. According to the documentation, the CLI looks for a .env file to read credentials.

In our project, we use a file named .env.local for our environment variables. This requires us to either use dotenvx, or manually rename the file, or manage a separate .env file for the CLI to work, which can be cumbersome.

It would be a great quality-of-life improvement if the Snowtype CLI could accept a flag (e.g., --env-file or -e) to specify the path to a custom environment file. This would allow users to integrate the CLI more seamlessly into projects that use different naming conventions for environment files.

This change would enhance the flexibility of the tool and reduce friction for developers using a variety of project setups.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementNew features or improvements to existing features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions