when generating a pkl file from a JSON schema file it tends to use the module "Jsonschema"
$ pkl eval package://pkg.pkl-lang.org/pkl-pantry/org.json_schema.contrib@1.0.0#/generate.pkl -m . -p source="jsonschema.json"
Jsonschema.pkl
which includes the pkl...
it would be nice to be able to pass in the module name which is used to generate the pkl module and the name of the file
e.g.
$ pkl eval package://pkg.pkl-lang.org/pkl-pantry/org.json_schema.contrib@1.0.0#/generate.pkl -m . -p source="jsonschema.json" -p module="mything"
mything.pkl
$ cat mything.pkl
module mything
...
when generating a pkl file from a JSON schema file it tends to use the module "Jsonschema"
which includes the pkl...
it would be nice to be able to pass in the module name which is used to generate the pkl
moduleand the name of the filee.g.