-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathindex.mjs
More file actions
70 lines (69 loc) · 1.6 KB
/
Copy pathindex.mjs
File metadata and controls
70 lines (69 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// Public JS API for @babashka/cli, compiled from src/babashka/cli.cljc by squint.
// Friendly camelCase names are the documented surface; the squint-compiled names
// (parse_opts, spec__GT_opts, ...) are re-exported too for direct interop.
import {
parse_opts,
parse_opts_STAR_,
parse_args,
parse_cmds,
coerce,
coerce_opts,
auto_coerce,
parse_keyword,
validate_opts,
apply_defaults,
spec__GT_opts,
merge_opts,
dispatch,
format_opts,
format_table,
opts__GT_table,
table__GT_tree,
format_command_help,
format_command_error,
default_width_fn,
_STAR_exit_fn_STAR_,
} from './js/babashka/cli.mjs';
export {
// squint names
parse_opts,
parse_opts_STAR_,
parse_args,
parse_cmds,
coerce,
coerce_opts,
auto_coerce,
parse_keyword,
validate_opts,
apply_defaults,
spec__GT_opts,
merge_opts,
dispatch,
format_opts,
format_table,
opts__GT_table,
table__GT_tree,
format_command_help,
format_command_error,
default_width_fn,
_STAR_exit_fn_STAR_,
// friendly camelCase aliases
parse_opts as parseOpts,
parse_opts_STAR_ as parseOptsRaw,
parse_args as parseArgs,
parse_cmds as parseCmds,
coerce_opts as coerceOpts,
auto_coerce as autoCoerce,
parse_keyword as parseKeyword,
validate_opts as validateOpts,
apply_defaults as applyDefaults,
spec__GT_opts as specToOpts,
merge_opts as mergeOpts,
format_opts as formatOpts,
format_table as formatTable,
opts__GT_table as optsToTable,
table__GT_tree as tableToTree,
format_command_help as formatCommandHelp,
format_command_error as formatCommandError,
default_width_fn as defaultWidthFn,
};