2022-09-26 10:26:00 +02:00

126 lines
3.9 KiB
JSON

{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld",
"@graph": [
{
"comment": "Extracts CLI arguments into a key/value object. Config and mainModulePath are only defined here so their description is returned.",
"@id": "urn:solid-server-app-setup:default:CliExtractor",
"@type": "YargsCliExtractor",
"parameters": [
{
"@type": "YargsParameter",
"name": "config",
"options": {
"alias": "c",
"requiresArg": true,
"type": "array",
"describe": "The configuration(s) for the server. The default only stores data in memory; to persist to your filesystem, use @css:config/file.json."
}
},
{
"@type": "YargsParameter",
"name": "mainModulePath",
"options": {
"alias": "m",
"requiresArg": true,
"type": "string",
"describe": "Path from where Components.js will start its lookup when initializing configurations."
}
},
{
"@type": "YargsParameter",
"name": "loggingLevel",
"options": {
"alias": "l",
"requiresArg": true,
"type": "string",
"describe": "The detail level of logging; useful for debugging problems."
}
},
{
"@type": "YargsParameter",
"name": "baseUrl",
"options": {
"alias": "b",
"requiresArg": true,
"type": "string",
"describe": "The public URL of your server."
}
},
{
"@type": "YargsParameter",
"name": "port",
"options": {
"alias": "p",
"requiresArg": true,
"type": "number",
"describe": "The TCP port on which the server runs."
}
},
{
"@type": "YargsParameter",
"name": "rootFilePath",
"options": {
"alias": "f",
"requiresArg": true,
"type": "string",
"describe": "Root folder of the server, when using a file-based configuration."
}
},
{
"@type": "YargsParameter",
"name": "showStackTrace",
"options": {
"alias": "t",
"type": "boolean",
"describe": "Enables detailed logging on error pages."
}
},
{
"@type": "YargsParameter",
"name": "sparqlEndpoint",
"options": {
"alias": "s",
"requiresArg": true,
"type": "string",
"describe": "URL of the SPARQL endpoint, when using a quadstore-based configuration."
}
},
{
"@type": "YargsParameter",
"name": "podConfigJson",
"options": {
"requiresArg": true,
"type": "string",
"describe": "Path to the file that keeps track of dynamic Pod configurations."
}
},
{
"@type": "YargsParameter",
"name": "seededPodConfigJson",
"options": {
"requiresArg": true,
"type": "string",
"describe": "Path to the file that will be used to seed pods."
}
},
{
"@type": "YargsParameter",
"name": "workers",
"options": {
"alias": "w",
"requiresArg": true,
"type": "number",
"describe": "Run the server in multithreaded mode using workers. (special values: -1: num_cores-1, 0: num_cores). Defaults to 1 (singlethreaded)"
}
}
],
"options": {
"usage": "node ./bin/server.js [args]",
"envVarPrefix": "CSS",
"loadFromEnv": true,
"strictMode": true
}
}
]
}