Skip to content

CLI - use .env.local instead of .env (if possible) #182

Description

@softmarshmallow

Use .env.local if possible while executing cli app.

Currently the grida cli (grida) uses .env to store credentials (pat), in some cases, e.g. vercel apps, uses .env syncing with the remote server, so it is a good idea to store the credentials to .env.local. (if possible, if file already exists)

  1. write: to .env.local if file already present
  2. read: from .env and .env.local, overwrite .local values. (must be some libraries handling this.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions