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

Use CLI wrapper to initialize project #1012

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

scotttrinh
Copy link
Collaborator

Now that we have the edgedb CLI wrapper script that handles installing the CLI if it's missing, the wrapper takes care of installing the correct version or finding the already installed binary.

Now that we have the `edgedb` CLI wrapper script that handles installing
the CLI if it's missing, the wrapper takes care of installing the
correct version or finding the already installed binary.
We want to use the installed CLI wrapper rather than downloading a
separate copy to the global cache of the package manager. Assuming the
user choses to install the dependencies, running the EdgeDB
initialization _after_ that should pick up the installed CLI wrapper.
This doesn't currently work because the quotes get removed when passing
the arguments to the wrapper script, so we need to do some additional
work in the CLI wrapper to ensure that quoted arguments like this get
forwarded to the CLI properly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant