Skip to content

Commit

Permalink
Update 'test buttercup' command doco
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbax189 committed Nov 15, 2024
1 parent 1f45ee7 commit 64c0bb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmds/test/buttercup.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@

"use strict";

exports.command = ['buttercup [files..]'];
exports.command = ['buttercup [directories..]'];
exports.desc = 'Run buttercup tests';
exports.builder = yargs => yargs
.positional(
'[files..]', {
description: 'files you want buttercup to run on',
'[directories..]', {
description: 'directories containing buttercup tests, must be children of the current directory',
type: 'array',
});

exports.handler = async (argv) => {
await UTIL.e_call(argv, 'test/buttercup', argv.files);
await UTIL.e_call(argv, 'test/buttercup', argv.directories);
};

0 comments on commit 64c0bb5

Please sign in to comment.