mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2026-03-03 16:59:13 +00:00
Compare commits
2 Commits
7855ce5d54
...
072afc86dd
| Author | SHA1 | Date | |
|---|---|---|---|
| 072afc86dd | |||
| 6a629ec3e9 |
@ -5,12 +5,16 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
# [0.18.0] - 2026-01-23
|
# [0.18.2] - 2026-01-23
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- support for shell completion, see [Shell Completion](https://github.com/onyx-and-iris/gobs-cli?tab=readme-ov-file#shell-completion)
|
- support for shell completion, see [Shell Completion](https://github.com/onyx-and-iris/gobs-cli?tab=readme-ov-file#shell-completion)
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- emoji-style ✅, ❌ replaced with cleaner ●, ○. See [Style](https://github.com/onyx-and-iris/gobs-cli?tab=readme-ov-file#style)
|
||||||
|
|
||||||
# [0.17.0] - 2026-01-09
|
# [0.17.0] - 2026-01-09
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
BIN
img/coloured-border.png
Executable file → Normal file
BIN
img/coloured-border.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 5.4 KiB |
BIN
img/coloured-no-border.png
Executable file → Normal file
BIN
img/coloured-no-border.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 5.4 KiB |
2
input.go
2
input.go
@ -131,7 +131,7 @@ func (cmd *InputListCmd) Run(ctx *context) error {
|
|||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err.Error() == "request GetInputMute: InvalidResourceState (604): The specified input does not support audio." {
|
if err.Error() == "request GetInputMute: InvalidResourceState (604): The specified input does not support audio." {
|
||||||
muteMark = "N/A"
|
muteMark = "—"
|
||||||
} else {
|
} else {
|
||||||
return fmt.Errorf("failed to get input mute state: %w", err)
|
return fmt.Errorf("failed to get input mute state: %w", err)
|
||||||
}
|
}
|
||||||
|
|||||||
4
util.go
4
util.go
@ -24,12 +24,12 @@ func getEnabledMark(enabled bool) string {
|
|||||||
if os.Getenv("NO_COLOR") != "" { // nolint: misspell
|
if os.Getenv("NO_COLOR") != "" { // nolint: misspell
|
||||||
return "✓"
|
return "✓"
|
||||||
}
|
}
|
||||||
return "✅"
|
return "●"
|
||||||
}
|
}
|
||||||
if os.Getenv("NO_COLOR") != "" { // nolint: misspell
|
if os.Getenv("NO_COLOR") != "" { // nolint: misspell
|
||||||
return "✗"
|
return "✗"
|
||||||
}
|
}
|
||||||
return "❌"
|
return "○"
|
||||||
}
|
}
|
||||||
|
|
||||||
func trimPrefix(s, prefix string) string {
|
func trimPrefix(s, prefix string) string {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user