Skip to content

Allow URLs for kcl import paths #451

Open
@tvandinther

Description

@tvandinther

Feature Request

Is your feature request related to a problem? Please describe:
When importing KCL from a jsonschema using a command such as kcl import -m jsonschema [FILE] I often want to use a jsonschema defined in some remote git repo. To do this, I need to first download the file locally and then run the import command.

Describe the feature you'd like:
I would like to be able to specify a url to fetch the raw text from such as a raw github URL to prevent the step of downloading it myself.

Describe alternatives you've considered:
Downloading the file first.

Teachability, Documentation, Adoption, Migration Strategy:
This would be particularly useful for introducing people to KCL in quick starts and tutorials, as well as making it easier to script this flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions