From 84751fd8a754ceb3dff1f57159628cfc12171a7b Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 13 Jul 2024 19:10:13 -0500 Subject: [PATCH] feat(doc): optional `dir` arg to commands --- doc/live-server.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/live-server.txt b/doc/live-server.txt index 0f30a1a..63a55b9 100644 --- a/doc/live-server.txt +++ b/doc/live-server.txt @@ -35,10 +35,19 @@ Usage: ~ COMMANDS *live-server.commands* *LiveServerStart* -:LiveServerStart Start the live server. +:LiveServerStart [dir] Start the live server. If an optional argument `dir` + is provided, the server will start in the specified + directory. *LiveServerStop* -:LiveServerStop Stop the live server. +:LiveServerStop [dir] Stop the live server. If an optional argument `dir` + is provided, the server will stop the server running + in the specified directory. + + *LiveServerToggle* +:LiveServerToggle [dir] Toggle the live server on or off. If an optional + argument `dir` is provided, the server will be + toggled in the specified directory. ------------------------------------------------------------------------------- vim:tw=80:ft=help: