Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Capacitor | Angular: Add Environment Options to Pass to Capacitor Command. #3

Open
@tommyc38

Description

Is your feature request related to a problem? Please describe.
I need to be able to run different builds of iOS/Android dynmaically. In order to do that I need to be able to pass environement variables to the capacitor command. See the capacitor docs describing this here.

Describe the solution you'd like
I would like a new option, env, which would be a string that would be executed before the npx command (e.g. 'NODE_ENV=dev OTHER_VAR=FOO').

Describe alternatives you've considered
I can't think of any other way.

Additional context
N/A

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