github.com/hattya/nazuna@v0.7.1-0.20240331055452-55e14c275c1c/README.md (about)

     1  # Nazuna
     2  
     3  Nazuna is a layered dotfiles management tool.
     4  
     5  [![pkg.go.dev](https://pkg.go.dev/badge/github.com/hattya/nazuna)](https://pkg.go.dev/github.com/hattya/nazuna)
     6  [![GitHub Actions](https://github.com/hattya/nazuna/actions/workflows/ci.yml/badge.svg)](https://github.com/hattya/nazuna/actions/workflows/ci.yml)
     7  [![Appveyor](https://ci.appveyor.com/api/projects/status/2eg4vbro37mhsdk0/branch/master?svg=true)](https://ci.appveyor.com/project/hattya/nazuna)
     8  [![Codecov](https://codecov.io/gh/hattya/nazuna/branch/master/graph/badge.svg)](https://codecov.io/gh/hattya/nazuna)
     9  
    10  
    11  ## Installation
    12  
    13  ```console
    14  $ go install github.com/hattya/nazuna/cmd/nzn@latest
    15  ```
    16  
    17  
    18  ## Usage
    19  
    20  ```console
    21  $ nzn init --vcs git
    22  $ nzn layer -c master
    23  $ cp .gitconfig .nzn/r/master
    24  $ nzn vcs add .
    25  $ nzn vcs commit -m "Initial import"
    26  [master (root-commit) 1234567] Initial import
    27   2 files changed, 8 insertions(+)
    28   create mode 100644 master/.gitconfig
    29   create mode 100644 nazuna.json
    30  $ rm .gitconfig
    31  $ nzn update
    32  link .gitconfig --> master
    33  1 updated, 0 removed, 0 failed
    34  $ readlink .gitconfig
    35  .nzn/r/master/.gitconfig
    36  ```
    37  
    38  
    39  ## License
    40  
    41  Nazuna is distributed under the terms of the MIT License.