mirror of
https://github.com/yarlson/lnk.git
synced 2025-08-29 17:49:47 +02:00
docs(README): clarify color modes and emoji flags with improved formatting
This commit is contained in:
@@ -348,6 +348,7 @@ NO_COLOR=1 lnk init # Disables colors (acts like --colors=never)
|
||||
```
|
||||
|
||||
**Color modes:**
|
||||
|
||||
- `auto` (default): Use colors only when stdout is a TTY
|
||||
- `always`: Force color output regardless of TTY
|
||||
- `never`: Disable color output regardless of TTY
|
||||
@@ -370,6 +371,7 @@ lnk init --emoji
|
||||
```
|
||||
|
||||
**Emoji flags:**
|
||||
|
||||
- `--emoji` (default: true): Enable emoji in output
|
||||
- `--no-emoji`: Disable emoji in output
|
||||
|
||||
|
1
go.sum
1
go.sum
@@ -8,7 +8,6 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
|
||||
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
||||
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
|
||||
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
|
||||
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
|
||||
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||
github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
|
||||
github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||
|
Reference in New Issue
Block a user