Skip to content

enhance action create with env variables #116

Open

Description

@rabbah

Describe the bug
This was missed in the recently merged PR #103. The -P flag is overloaded to mean read params from file and read env from file. This is a copy/paste bug, the intent was to use -E.

https://github.com/adobe/aio-cli-plugin-runtime/pull/103/files#diff-6d51d7a8679a906a9bfdaf1a8b017006R207

Thanks to @purplecabbage for pointing this out. We were both surprised oclif didn't barf at this.

As an enhancement, Jesse also suggested supporting reading the value of an env var from the shell environemnt, so that you can do ... action create myAction -e FOO which is syntactic sugar for ... action create myAction -e FOO $FOO. I think this is neat/convenient (perhaps to be considered separately as an enhancement).

Activity

  1. purplecabbage commented on Feb 12, 2020

    @purplecabbage
    Contributor

    The overloaded flag is fixed in #117

  2. added
    enhancement
    help wanted
    on Feb 12, 2020
  3. meryllblanchet commented on Feb 12, 2020

    @meryllblanchet

    Thanks @purplecabbage . Let's keep this one open for the suggested enhancement.

  4. changed the title [-]action create with env variables overloads -P [/-] [+]enhance action create with env variables[/+] on Mar 6, 2020
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

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions