refactor: Add imports that allow for HTTPS through CLI params

This commit is contained in:
Joachim Van Herwegen
2022-07-27 12:15:37 +02:00
parent ca36d86bc6
commit 9dcba1a288
7 changed files with 121 additions and 82 deletions

View File

@@ -0,0 +1,31 @@
{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld",
"@graph": [
{
"@id": "urn:solid-server-app-setup:default:CliExtractor",
"@type": "YargsCliExtractor",
"parameters": [
{
"@type": "YargsParameter",
"name": "httpsKey",
"options": {
"demandOption": true,
"requiresArg": true,
"type": "string",
"describe": "File path to the HTTPS key."
}
},
{
"@type": "YargsParameter",
"name": "httpsCert",
"options": {
"demandOption": true,
"requiresArg": true,
"type": "string",
"describe": "File path to the HTTPS certificate."
}
}
]
}
]
}