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

Add the option to output json in the juvix internal highlight command #1450

Conversation

janmasrovira
Copy link
Collaborator

this PR adds the flag --format to juvix internal highlight command.
It has two possible values:

  1. emacs (default). The existing behaviour.
  2. json. It outputs a json object. Convenient for the vscode plugin

@janmasrovira janmasrovira added CLI highlight Related to the `juvix internal highlight` command labels Aug 11, 2022
@janmasrovira janmasrovira added this to the 0.2.3 milestone Aug 11, 2022
@janmasrovira janmasrovira self-assigned this Aug 11, 2022
@janmasrovira janmasrovira merged commit 7187b41 into main Aug 12, 2022
@janmasrovira janmasrovira deleted the 1448-add-the-option-to-output-json-in-the-juvix-internal-highlight-command branch August 12, 2022 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI highlight Related to the `juvix internal highlight` command
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the option to output json in the juvix internal highlight command
2 participants