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

[feat] shellcheck --dump-ast-schema ast.jsonschema.json --dump-ast ast.json #2676

Open
loynoir opened this issue Jan 29, 2023 · 0 comments
Open

Comments

@loynoir
Copy link

loynoir commented Jan 29, 2023

feat

shellcheck --dump-ast-schema ast.jsonschema.json --dump-ast ast.json

reason

I guess shellcheck and shfmt might be the largest two shellscript-AST-related repos. (Are they?)

Some shellscript AST parser I found seems incomplete.

It would be awesome to re-use shellcheck AST or shfmt AST, from other language.

So no need to workaround some other incomplete shellscript AST parsers.

As swagger and openapi use jsonschema, there are tools to generate type definition from jsonschema.

related

mvdan/sh#967

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