Skip to content

dtaniwaki/git-kustomize-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-kustomize-diff

Go Reference Coverage Status

Check diff of your kustomize directory.

Prerequisites

Installation

Install from the Go source code:

$ go install -u github.com/dtaniwaki/git-kustomize-diff

For MacOS, use Homebrew:

brew tap dtaniwaki/git-kustomize-diff
brew install git-kustomize-diff

Or, download the binary from GitHub Releases and put it in your $PATH.

Usage

$ git-kustomize-diff run

Flags:

Usage:
  git-kustomize-diff run target_dir [flags]

Flags:
      --allow-dirty                        allow dirty tree
      --base string                        base commitish (default to origin/main)
      --debug                              debug mode
      --exclude string                     exclude regexp (default to none)
      --git-path string                    path of a git binary (default to git)
  -h, --help                               help for run
      --include string                     include regexp (default to all)
      --kustomize-load-restrictor string   kustomize load restrictor type (default to kustomizaton provider defaults)
      --kustomize-path string              path of a kustomize binary (default to embedded)
      --target string                      target commitish (default to the current branch)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2021 Daisuke Taniwaki. See LICENSE for details.