Skip to content

Wildcard not working - not output #505

Open
@magick93

Description

@magick93

I'm trying to generate ts for several files, using the example in the readme:

json2ts -i 'schemas/**/*.json'
# or
json2ts -i schemas/ -o types/

However I'm only able to get output for a single specified .json file. For example at RateType.json | json2ts > RateType.d.ts does generate.

What I've tried

The following did not generate any output.

 json2ts -i *.json --output./types
 json2ts -i ./*.json --output./types
 json2ts -i base/ -o base/
 json2ts -i base/*.json -o base/
 json2ts -i base/*.json -o base/ --help
 json2ts -i base/*.json -o base/ --help --cwd ./base
 json2ts -i base/*.json -o base/ --help --cwd=./base
 json2ts -i base/*.json -o base/ --cwd=./base
 json2ts -i base/*.json -o base/base.d.ts --cwd=./base
 json2ts -i ./base/*.json -o base/base.d.ts --cwd=./base
 json2ts -i ./base/*.json -o ./base/base.d.ts --cwd=./base
 json2ts -i ./base/*.json
 json2ts -i ./base/*.json --cwd=./base
 json2ts -i ./base/*.json --cwd=./base > > output.d.ts
 json2ts -i ./base/*.json --cwd=./base > output.d.ts
 json2ts -i *.json
 json2ts -i */*.json
 json2ts -i */*.json --cwd=base
 json2ts -i */*.json --cwd=base -out common.d.ts
 json2ts -i */*.json --cwd=base -o common.d.ts
 json2ts -i */**.json --cwd=base -o common.d.ts
 json2ts -i **/**.json --cwd=base -o common.d.ts
 json2ts -i **/**.json --cwd=base -o ./common.d.ts
 json2ts -i **/**.json --cwd=./base -o ./common.d.ts
 json2ts -i **/**.json -o ./common.d.ts
 json2ts -i **/**.json -o ./common.d.ts --cwd=base

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions