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: add afnanenayet/diffsitter #18349

Merged

Conversation

CrystalMethod
Copy link
Contributor

afnanenayet/diffsitter: A tree-sitter based AST difftool to get meaningful semantic diffs

$ aqua g -i afnanenayet/diffsitter

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

$ diffsitter --help
An AST based difftool for meaningful diffs

Usage: diffsitter [OPTIONS] [OLD] [NEW] [COMMAND]

Commands:
  list                 List the languages that this program was compiled for
  dump-default-config  Dump the default config to stdout
  gen-completion       Generate shell completion scripts for diffsitter
  help                 Print this message or the help of the given subcommand(s)

Arguments:
  [OLD]
          The first file to compare against

          Text that is in this file but is not in the new file is considered a deletion

  [NEW]
          The file that the old file is compared against

          Text that is in this file but is not in the old file is considered an addition

Options:
  -d, --debug
          Print debug output

          This will print debug logs at the trace level. This is useful for debugging and bug reports should contain debug logging info.

  -t, --file-type <FILE_TYPE>
          Manually set the file type for the given files

          This will dictate which parser is used with the difftool. You can list all of the valid file type strings with `diffsitter --cmd list`

  -c, --config <CONFIG>
          Use the config provided at the given path

          By default, diffsitter attempts to find the config at `$XDG_CONFIG_HOME/diffsitter.json5`. On Windows the app will look in the standard config path.

      --color <COLOR_OUTPUT>
          Set the color output policy. Valid values are: "auto", "on", "off".

          "auto" will automatically detect whether colors should be applied by trying to determine whether the process is outputting to a TTY. "on" will enable output and "off" will
          disable color output regardless of whether the process detects a TTY.

          [default: auto]

  -n, --no-config
          Ignore any config files and use the default config

          This will cause the app to ignore any configs and all config values will use the their default settings.

  -r, --renderer <RENDERER>
          Specify which renderer tag to use.

          If no option is supplied then this will fall back to the default renderer.

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

[afnanenayet/diffsitter](https://github.com/afnanenayet/diffsitter): A tree-sitter based AST difftool to get meaningful semantic diffs
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Dec 19, 2023
@suzuki-shunsuke suzuki-shunsuke added this to the v4.108.0 milestone Dec 19, 2023
@suzuki-shunsuke
Copy link
Member

Thank you!

@suzuki-shunsuke suzuki-shunsuke merged commit b11c166 into aquaproj:main Dec 19, 2023
16 checks passed
@suzuki-shunsuke
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants