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

[BUG] astra db create-dotenv does not create .env file #67

Closed
synedra opened this issue Apr 20, 2023 · 1 comment
Closed

[BUG] astra db create-dotenv does not create .env file #67

synedra opened this issue Apr 20, 2023 · 1 comment
Assignees
Labels
bug Something isn't working ready_for_release
Milestone

Comments

@synedra
Copy link

synedra commented Apr 20, 2023

Describe the bug

On my Macintosh, astra db create-dotenv workshops -k gotest does not create a .env file in my directory.

Weirdly, it works correctly on GitHub.

To Reproduce

Steps to reproduce the behavior:

astra db create-dotenv workshops -k gotest --- no .env
astra db create-dotenv workshops -k gotest --directory pwd`` --- works

Expected behavior
I expect the .env file to be created

Desktop (please complete the following information):

  • OS: OSX Catalina
  • Additional context
    Add any other context about the problem here.
@clun
Copy link
Collaborator

clun commented Apr 26, 2023

This issue happens with the CLI installed with brew.

The command is running in /usr/local/Cellar/astra-cli/0.3/bin/astra and this is where the files are created by mistake.

As you stated the workaround is to provide the fill path until i fix.

astra db create-dotenv workshops -k gotest --directory pwd``

@clun clun self-assigned this Apr 26, 2023
@clun clun added the bug Something isn't working label Apr 26, 2023
@clun clun added this to the 0.4 milestone Jul 17, 2023
@clun clun closed this as completed Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready_for_release
Projects
None yet
Development

No branches or pull requests

2 participants