-
-
Notifications
You must be signed in to change notification settings - Fork 312
Closed
Labels
good-first-issueEasy to fix issues. Good for newcomersEasy to fix issues. Good for newcomers
Description
It should work in the following way:
$ aerospace list-modes --json
[
{
"mode-id" : "main"
},
{
"mode-id" : "service"
}
]
$ aerospace list-modes --current --json
[
{
"mode-id" : "service"
}
]
The reasoning for "redundant" wrapping objects is to make the API future-proof and consistent with other list-*
commands.
E.g. in the future:
$ aerospace list-modes --json --format '%{mode-id} %{visible-mode-name}'
[
{
"mode-id" : "service",
"visible-mode-name" : "Service Mode"
}
]
Metadata
Metadata
Assignees
Labels
good-first-issueEasy to fix issues. Good for newcomersEasy to fix issues. Good for newcomers