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

Directory multiple file input src and multiple file out differences #2491

Open
kmturley opened this issue Feb 12, 2024 · 0 comments
Open

Directory multiple file input src and multiple file out differences #2491

kmturley opened this issue Feb 12, 2024 · 0 comments

Comments

@kmturley
Copy link

kmturley commented Feb 12, 2024

These commands all generate different results

quicktype --src ./src/*.ts --lang java --out ./dist
quicktype --src ./src/*.ts --lang java --out ./dist/*
quicktype --src ./src/*.ts --lang java --out ./dist/library
quicktype --src ./src/*.ts --lang java --out ./dist/library/*
quicktype --src ./src/*.ts --lang ts --out ./dist/*
quicktype --src ./src/*.ts --lang ts --out ./dist/index.ts

Differences:

  1. Without /* files are outputted in the parent directory.
  2. Sub-directories are not created automatically e.g. library
  3. Using --package com.app with Java does not generate the java directory structure
  4. --lang java can generate multiple separate files, but --lang ts does not work, only can do a single file

Wondering if these are bugs or intended functionality?
If intended functionality, could this be documented?

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

No branches or pull requests

1 participant