Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Nov 2, 2023
1 parent 7b9e0c7 commit ee4f5a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scratch.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ import { deepEqual } from 'assert';
import { parse_args } from './js/babashka/cli.mjs';

console.log(parse_args(['-a', '1', '-a', '1'], {coerce: {a: ['long']}}))

console.log(parse_args(["--no-option", "--no-this-exists"], ({ "coerce": ({ "no-this-exists": "bool" }) })));

0 comments on commit ee4f5a7

Please sign in to comment.