chore(readme): guide compare

main
Tran Hau 2021-04-23 03:25:24 +00:00
parent 3434986e67
commit 870bd54fac
1 changed files with 7 additions and 10 deletions

View File

@ -2,18 +2,15 @@
[![Go](https://github.com/haunt98/dotfiles/workflows/Go/badge.svg?branch=main)](https://github.com/actions/setup-go)
## Install
```sh
go build
```
## Usage
```sh
# Install (replace user config with saved config)
./dotfiles install
# Install dotfiles
go run *.go install
# Update (replace saved config with user config)
./dotfiles update
# Update dotfiles with user config
go run *.go update
# Compare dotfiles with user config
go run *.go compare
```