mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2026-09-17 17:02:27 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
072afc86dd | ||
|
|
6a629ec3e9 |
+5
-1
@@ -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
|
||||||
|
|||||||
Executable → Regular
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 5.4 KiB |
Executable → Regular
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 5.4 KiB |
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user