8000 GitHub - TimeBye/yamldiff
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TimeBye/yamldiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yamldiff

用于比较并输出两个 YAML/JSON 文件的差异的 CLI 工具。

使用方法

  • 给定的 1.yml 文件为:

    a: cat
    b: 
      - a: 1
      - b: 2
      - c: 3
    c:
      d: 1
      e: 
      f: 3
  • 给定的 2.yml 文件为:

    a: dog
    b: 
      - a: 1
      - b: 4
      - c: 3
    c:
      d: 1
      e: 2
      f: 4
    g: h
  • 执行对比:

    yamldiff 1.yml 2.yml
    
  • 输出结果:

    a: dog
    b:
    - a: 1
    - b: 4
    - c: 3
    c:
      e: 2
      f: 4
    g: h

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0