Skip to content

Commit

Permalink
🔧 Allow electron command line arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed Jul 16, 2024
1 parent 9371734 commit 370a23e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ program
.description('The cross-platform pie menu.')
.version(app.getVersion())
.option('-m, --menu <menu>', 'show the menu with the given name')
.option('-s, --settings', 'show the menu editor');
.option('-s, --settings', 'show the menu editor')
.allowUnknownOption(true);

program.parse();
const options = program.opts() as CLIOptions;
Expand Down

0 comments on commit 370a23e

Please sign in to comment.