feat: Remove podTemplateFolder as a variable.

This is now possible due to TemplatedResourcesGenerator
accepting path strings relative to the module root.
This commit is contained in:
Joachim Van Herwegen
2021-04-15 11:55:06 +02:00
parent e9917322e3
commit 1d9b027a57
16 changed files with 21 additions and 33 deletions

View File

@@ -58,7 +58,6 @@ export class CliRunner {
config: { type: 'string', alias: 'c' },
loggingLevel: { type: 'string', alias: 'l', default: 'info' },
mainModulePath: { type: 'string', alias: 'm' },
podTemplateFolder: { type: 'string', alias: 't' },
port: { type: 'number', alias: 'p', default: 3000 },
rootFilePath: { type: 'string', alias: 'f', default: './' },
sparqlEndpoint: { type: 'string', alias: 's' },
@@ -113,8 +112,6 @@ export class CliRunner {
'urn:solid-server:default:variable:rootFilePath':
this.resolveFilePath(params.rootFilePath),
'urn:solid-server:default:variable:sparqlEndpoint': params.sparqlEndpoint,
'urn:solid-server:default:variable:podTemplateFolder':
this.resolveFilePath(params.podTemplateFolder, 'templates/pod'),
'urn:solid-server:default:variable:podConfigJson':
this.resolveFilePath(params.podConfigJson),
};