Skip to content

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

@vimkim

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.

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