Skip to content

Commit da2174c

Browse files
committed
📝 Add --close-menu to the docs
1 parent cd9f3c2 commit da2174c

1 file changed

Lines changed: 26 additions & 20 deletions

File tree

src/content/docs/launch-from-cli.mdx

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Launching Kando from a Terminal
66
description: How to run Kando from the command line.
77
---
88

9-
import { Tabs, TabItem, Aside } from '@astrojs/starlight/components';
9+
import { Tabs, TabItem, Aside, Badge } from '@astrojs/starlight/components';
1010
import { Icon } from 'astro-icon/components';
1111

1212
![banner](../../assets/banners/banner08.png)
@@ -51,37 +51,43 @@ Kando comes with a command line interface (CLI) that allows you to interact with
5151
For now, these commands are available:
5252

5353
<details>
54-
<summary>`--help`</summary>
55-
Prints the help message for the CLI.
54+
<summary>`--help`</summary>
55+
Prints the help message for the CLI.
5656
</details>
5757

5858
<details>
59-
<summary>`--version` or `-v`</summary>
60-
Prints the version of Kando.
59+
<summary>`--version` or `-v`</summary>
60+
Prints the version of Kando.
6161
</details>
6262

6363
<details>
64-
<summary>`--menu "Menu Name"` or `-m "Menu Name"`</summary>
65-
Opens the menu with the given name.
66-
This also works if Kando is already running.
67-
In this case, the menu will be opened in the running instance.
64+
<summary>`--menu "Menu Name"` or `-m "Menu Name"`</summary>
65+
Opens the menu with the given name. This also works if Kando is already running. In this
66+
case, the menu will be opened in the running instance.
6867
</details>
6968

7069
<details>
71-
<summary>`--settings` or `-s`</summary>
72-
Opens the settings window.
73-
This also works if Kando is already running.
74-
In this case, the settings window will be opened in the running instance.
70+
<summary>
71+
`--close-menu` <Badge text="soon!" variant="tip" />
72+
</summary>
73+
Closes the currently opened menu. This will do nothing if no menu is shown or Kando is
74+
not running.
7575
</details>
7676

7777
<details>
78-
<summary>`--reload-menu-theme`</summary>
79-
Reloads the menu theme.
80-
This can be useful if you are developing a theme and want to see the changes without restarting Kando.
78+
<summary>`--settings` or `-s`</summary>
79+
Opens the settings window. This also works if Kando is already running. In this case,
80+
the settings window will be opened in the running instance.
8181
</details>
8282

8383
<details>
84-
<summary>`--reload-sound-theme`</summary>
85-
Reloads the sound theme.
86-
This can be useful if you are developing a theme and want to hear the changes without restarting Kando.
87-
</details>
84+
<summary>`--reload-menu-theme`</summary>
85+
Reloads the menu theme. This can be useful if you are developing a theme and want to see
86+
the changes without restarting Kando.
87+
</details>
88+
89+
<details>
90+
<summary>`--reload-sound-theme`</summary>
91+
Reloads the sound theme. This can be useful if you are developing a theme and want to
92+
hear the changes without restarting Kando.
93+
</details>

0 commit comments

Comments
 (0)