quicktype
quicktype copied to clipboard
Directory multiple file input src and multiple file out differences
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:
- Without
/*files are outputted in the parent directory. - Sub-directories are not created automatically e.g.
library - Using
--package com.appwith Java does not generate the java directory structure --lang javacan generate multiple separate files, but--lang tsdoes not work, only can do a single file
Wondering if these are bugs or intended functionality? If intended functionality, could this be documented?