mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Enable strict parsing of CLI arguments
This commit is contained in:
parent
f609f1a9c5
commit
4e999eba98
@ -115,7 +115,8 @@
|
||||
}
|
||||
],
|
||||
"options": {
|
||||
"usage": "node ./bin/server.js [args]"
|
||||
"usage": "node ./bin/server.js [args]",
|
||||
"strictMode": true
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -10,7 +10,7 @@ import type { CliArgv, Shorthand } from '../variables/Types';
|
||||
* but that does mean that this class should not error if they are present,
|
||||
* e.g., by being strict throwing an error on these unexpected parameters.
|
||||
*
|
||||
* The following core CLI parameters are mandatory:
|
||||
* In case strict mode is preferred, the following should be added to the list of known parameters:
|
||||
* - -c / \--config
|
||||
* - -m / \--mainModulePath
|
||||
* - -l / \--loggingLevel
|
||||
|
Loading…
x
Reference in New Issue
Block a user