Visitar URL original
Add support for arguments (like diff files, or files to compare) · Issue #41 · dlvhdr/diffnav · GitHub
Skip to content

Add support for arguments (like diff files, or files to compare) #41

Open

Description

@vimkim

I wish diffnav could read diff file as an argument.

Proposal 1

$ diff -u a.txt b.txt > patch.diff

$ diffnav -f patch.diff

Proposal 2

$ diffnav a.txt b.txt

# or,

$ diffnav -r a_directory b_directory

Proposal 3

Both Proposal 1 and Proposal 2 combined.


Advantages

  • Less typings when using with diff.
  • Easier debugging with debuggers like delve.
    • Please enlighten me if there is a better way to debug diffnav.

Activity

  1. changed the title [-]Add support for reading diff files[/-] [+]Add support for arguments (like diff files, or files to compare)[/+] on Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions