Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set all datamodel-related flags in structopt #598

Merged
merged 1 commit into from Mar 20, 2020
Merged

Conversation

pimeys
Copy link
Contributor

@pimeys pimeys commented Mar 20, 2020

Env vars still work, but are now included in the structopt setup of Prisma.

OPTIONS:
        --datamodel <datamodel>                            Base64 encoded Prisma datamodel [env: PRISMA_DML=]
        --datamodel-path <datamodel-path>                  Path to the Prisma datamodel file [env: PRISMA_DML_PATH=]
    -H, --host <host>
            The hostname or IP the query engine should bind to [default: 127.0.0.1]

        --overwrite-datasources <overwrite-datasources>
            Base64 encoded datasources, overwriting the ones in the datamodel [env: OVERWRITE_DATASOURCES=]

    -p, --port <port>
            The port the query engine should bind to [env: PORT=]  [default: 4466]

@pimeys pimeys requested a review from tomhoule March 20, 2020 13:28
@pimeys pimeys self-assigned this Mar 20, 2020
@pimeys pimeys added this to the Preview 25 milestone Mar 20, 2020
@pimeys pimeys added tech/engines/query engine Issue in the Query Engine kind/improvement An improvement to existing feature and code. labels Mar 20, 2020
Copy link
Contributor

@tomhoule tomhoule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 🔥 🔥

Amazing!

query-engine/prisma/src/main.rs Outdated Show resolved Hide resolved
@pimeys pimeys force-pushed the unified-datamodel-flags branch 3 times, most recently from af86ae1 to a0c4a9e Compare March 20, 2020 14:52
@pimeys pimeys merged commit 083094e into master Mar 20, 2020
@pimeys pimeys deleted the unified-datamodel-flags branch March 20, 2020 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement An improvement to existing feature and code. tech/engines/query engine Issue in the Query Engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants