mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2026-09-17 17:02:27 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
072afc86dd | ||
|
|
6a629ec3e9 | ||
|
|
7855ce5d54 |
@@ -0,0 +1,30 @@
|
|||||||
|
name: Auto-Update Go Modules
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 1' # Runs every Monday at midnight
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-go-modules:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: stable
|
||||||
|
|
||||||
|
- name: Update Dependencies
|
||||||
|
run: |
|
||||||
|
go get -u ./...
|
||||||
|
go mod tidy
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
git add go.mod go.sum
|
||||||
|
git commit -m "chore: auto-update Go modules"
|
||||||
|
git push
|
||||||
+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