From 61c7bd76333c2285fb90a7a5d464476f17611c2d Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Tue, 2 Jan 2024 18:49:23 +0100 Subject: [PATCH] nodoc --- API.md | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/API.md b/API.md index 96e42db..42afa18 100644 --- a/API.md +++ b/API.md @@ -19,11 +19,6 @@ - [`babashka.cli.exec`](#babashkacliexec) - [`-main`](#-main) - Main entrypoint for command line usage. - [`main`](#main) -- [`scratch`](#scratch) - - [`global-spec`](#global-spec) - - [`sub1-spec`](#sub1-spec) - - [`sub2-spec`](#sub2-spec) - - [`table`](#table) # babashka.cli @@ -65,7 +60,7 @@ Coerce string `s` using `f`. Does not coerce when `s` is not a string. Subcommand dispatcher. - Dispatches on first matching command entry in [`table`](#table). A match is + Dispatches on first matching command entry in `table`. A match is determines by whether `:cmds`, a vector of strings, is a subsequence (matching from the start) of the invoked commands. @@ -256,17 +251,3 @@ Main entrypoint for command line usage. ``` [source](https://github.com/babashka/cli/blob/main/src/babashka/cli/exec.clj#L83-L86) -# scratch - - - - - -## `global-spec` -[source](https://github.com/babashka/cli/blob/main/src/scratch.clj#L4-L4) -## `sub1-spec` -[source](https://github.com/babashka/cli/blob/main/src/scratch.clj#L5-L5) -## `sub2-spec` -[source](https://github.com/babashka/cli/blob/main/src/scratch.clj#L6-L6) -## `table` -[source](https://github.com/babashka/cli/blob/main/src/scratch.clj#L8-L11)