Skip to content

Allow passing inline config value to cli #151

Description

@aszenz

It's great that you can specify a file path for malloy config but in many cases it's easier to specify it inline with a cmd option.

Primary use case is for scripts that fetch secrets and want to pass it to malloy-cli for compilation.

Three options exist for passing inline config to malloy-cli:

  1. As argument -c "{"is": "mysql", ...}"
  2. As env variable MALLOY_CONFIG="{}"
  3. As std input -c "-", then pass it via stdin

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