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

Create the directories for the output target if it doesn't exist #172

Closed
lewisf opened this issue Jul 11, 2017 · 1 comment
Closed

Create the directories for the output target if it doesn't exist #172

lewisf opened this issue Jul 11, 2017 · 1 comment
Labels
🔨 cli related to the CLI itself 🎉 feature New addition or enhancement to existing solutions
Milestone

Comments

@lewisf
Copy link

lewisf commented Jul 11, 2017

When using --output, if the desired output directory doesn't exist, we can make the directories automatically. This would make integration with other tools/processes easier

@rricard rricard added the 🔨 cli related to the CLI itself label Jul 18, 2017
@rricard rricard added this to the Codegen 1.0 milestone Jul 18, 2017
@alamothe
Copy link

alamothe commented Apr 7, 2018

Does --output take a directory or a file? Running:

apollo-codegen generate --help
# ...
  --output                                 Output directory for the generated
                                           files                        [string]
# ...

Suggests it is a directory, but it cannot handle anything other than a file (at east for TypeScript target)

@shadaj shadaj added 🎉 feature New addition or enhancement to existing solutions and removed enhancement labels Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 cli related to the CLI itself 🎉 feature New addition or enhancement to existing solutions
Projects
None yet
Development

No branches or pull requests

4 participants