From 29331b24e5535ed8918bfcd61480a227a29e6573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingy=20d=C3=B6t=20Net?= Date: Sun, 19 Jan 2025 06:38:11 -0800 Subject: [PATCH] Update API.md Fix mangled markdown list syntax. --- API.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/API.md b/API.md index 6fab2c2..87bbbbc 100644 --- a/API.md +++ b/API.md @@ -7,7 +7,12 @@ - [`destroy`](#babashka.process/destroy) - Destroys the process and returns the input arg. - [`destroy-tree`](#babashka.process/destroy-tree) - Same as destroy but also destroys all descendants. - [`exec`](#babashka.process/exec) - Replaces the current process image with the process image specified by the given path invoked with the given args. - - [`parse-args`](#babashka.process/parse-args) - Parses arguments to process to map with: * :prev: a (previous) process whose input is piped into the current process * :cmd: a vector of command line argument strings * :opts: options map Note that this function bridges the legacy [cmds ?opts] syntax to the newer recommended syntax [?opts & args] and therefore looks unnecessarily complex. + - [`parse-args`](#babashka.process/parse-args) - Parses arguments to process to map with: + - :prev: a (previous) process whose input is piped into the current process + - :cmd: a vector of command line argument strings + - :opts: options map + + Note that this function bridges the legacy [cmds ?opts] syntax to the newer recommended syntax [?opts & args] and therefore looks unnecessarily complex. - [`pb`](#babashka.process/pb) - Returns a process builder (as record). - [`pipeline`](#babashka.process/pipeline) - Returns the processes for one pipe created with -> or creates pipeline from multiple process builders. - [`process`](#babashka.process/process) - Creates a child process.