Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This splits most CLI/IPC commands into two categories:
var
for ironvarsbar
for controlling individual bars.It also introduces more commands for visibility, as well as breaking existing ones.
New commands:
show
hide
toggle_visible
set_popup_visible
get_popup_visible
The implementation of some existing commands has been improved.
The following other smaller features/fixes are introduced by this PR:
BREAKING CHANGE: All IPC commands have changed. Namely,
type
has been changed tocommand
, and bar/var related commands are now under asubcommand
. The full spec can be found on the wiki.BREAKING CHANGE: Several CLI commands are now located under the
var
andbar
categories. Usage of any commands to get/set Ironvars or control bar visibility will need to be updated.BREAKING CHANGE: The
open_popup
andclose_popup
IPC commands are now calledshow_popup
andhide_popup
respectively.BREAKING CHANGE: The popup
name
argument has been renamed towidget_name
on all IPC commands.BREAKING CHANGE: The
set-visibility
CLI command now takes atrue
/false
positional argument in place of the-v
flag.BREAKING CHANGE:
ok_value
responses will no longer printok
as the first line when using the CLI