Skip to content

Commit

Permalink
Update cli.mjs
Browse files Browse the repository at this point in the history
add commander.parse() to main function

Co-authored-by: Robert Gemma <[email protected]>
  • Loading branch information
YUUU23 and RobertGemmaJr authored Aug 6, 2024
1 parent 62dbe64 commit 998e917
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,11 @@ commander
PARTICIPANT_ID = participantID;
});

commander.parse();

/** -------------------- MAIN -------------------- */

// TODO @brown-ccv #289: Pass CLI arguments with commander (especially for action)
async function main() {
commander.parse();
// print message if download or delete provided, along with optional args provided
if (ACTION != undefined) {
console.log(
Expand Down

0 comments on commit 998e917

Please sign in to comment.