-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jérôme Benoit <[email protected]>
- Loading branch information
1 parent
4a96b21
commit f558dd1
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/usr/bin/env node | ||
|
||
import { peowly } from 'peowly' | ||
|
||
const { options } = peowly({ | ||
options: { | ||
baseline: { | ||
listGroup: 'Benchmark options', | ||
description: '', | ||
type: 'string', | ||
}, | ||
bench: { | ||
listGroup: 'Benchmark options', | ||
description: '', | ||
type: 'string', | ||
multiple: true, | ||
}, | ||
silent: { | ||
listGroup: 'Output options', | ||
description: 'Silences output', | ||
type: 'boolean', | ||
}, | ||
json: { | ||
listGroup: 'Output options', | ||
description: 'Outputs as JSON', | ||
type: 'boolean' | 'number' | 'bmf', | ||
}, | ||
file: { | ||
listGroup: 'Output options', | ||
description: 'Outputs as JSON to a file', | ||
type: 'string', | ||
}, | ||
}, | ||
description: 'tatami-ng CLI for running benchmarks', | ||
examples: ['--bench <command> --bench <command>'], | ||
name: 'tatami', | ||
}) |