hapijs / hapijs/hapi.dev

Provide ability to add custom arguments in command

Open
#544 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Vue
Stars
55
Forks
72
PR merge metrics
No merged PRs in 30d

Description

### Runtime

node.js

### Runtime version

v22.11.0

### Module version

25.1.3

### Used with

Unit test for api

### Any other relevant information

It would be amazing if we could add our custom flag or argument to the command for running test.

I have a case where I would like to optionally generate file along my unit test.

### What problem are you trying to solve?

Currently it prevents me to add custom flags

`lab -S -l -m 20000 -M 20000 --generate-pdf`

this will not let me run the command.

### Do you have a new or modified API suggestion to solve the problem?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.