mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2025-06-09 21:20:34 +01:00
sceneitem list now prints enabled mark
patch bump
This commit is contained in:
parent
cf5da68137
commit
0a0c75ae51
@ -5,7 +5,7 @@ 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.10.1] - 2025-06-04
|
# [0.10.2] - 2025-06-04
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- filter list:
|
- filter list:
|
||||||
- sourceName arg now defaults to current scene.
|
- sourceName arg now defaults to current scene.
|
||||||
- defaults are printed for any unmodified values.
|
- defaults are printed for any unmodified values.
|
||||||
|
- sceneitem list:
|
||||||
|
- prints enabled mark instead of true/false
|
||||||
|
|
||||||
# [0.9.0] - 2025-06-02
|
# [0.9.0] - 2025-06-02
|
||||||
|
|
||||||
|
@ -71,11 +71,11 @@ func (cmd *SceneItemListCmd) Run(ctx *context) error {
|
|||||||
fmt.Sprintf("%d", groupItem.SceneItemID),
|
fmt.Sprintf("%d", groupItem.SceneItemID),
|
||||||
groupItem.SourceName,
|
groupItem.SourceName,
|
||||||
item.SourceName,
|
item.SourceName,
|
||||||
fmt.Sprintf("%t", item.SceneItemEnabled && groupItem.SceneItemEnabled),
|
getEnabledMark(item.SceneItemEnabled && groupItem.SceneItemEnabled),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
t.AddRow(fmt.Sprintf("%d", item.SceneItemID), item.SourceName, "", fmt.Sprintf("%t", item.SceneItemEnabled))
|
t.AddRow(fmt.Sprintf("%d", item.SceneItemID), item.SourceName, "", getEnabledMark(item.SceneItemEnabled))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
t.Render()
|
t.Render()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user