@olonjs/cli 3.0.124 → 3.0.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/src_tenant_alpha.sh +3313 -485
- package/assets/templates/alpha/src_tenant.sh +3313 -485
- package/package.json +1 -1
- package/src/index.js +1 -2
- package/assets/templates/agritourism/manifest.json +0 -5
- package/assets/templates/agritourism/src_tenant.sh +0 -11823
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -91,7 +91,6 @@ program
|
|
|
91
91
|
.argument('<type>', 'Type of artifact (tenant)')
|
|
92
92
|
.argument('<name>', 'Name of the new tenant')
|
|
93
93
|
.option('--template <name>', 'Template profile (default: alpha)', 'alpha')
|
|
94
|
-
.option('--agritourism', 'Alias for --template agritourism')
|
|
95
94
|
.option('--script <path>', 'Override default deterministic script path')
|
|
96
95
|
.action(async (type, name, options) => {
|
|
97
96
|
if (type !== 'tenant') {
|
|
@@ -101,7 +100,7 @@ program
|
|
|
101
100
|
|
|
102
101
|
const targetDir = path.join(process.cwd(), name);
|
|
103
102
|
const availableTemplates = getAvailableTemplates();
|
|
104
|
-
const template = options.
|
|
103
|
+
const template = options.template;
|
|
105
104
|
const scriptPath = options.script
|
|
106
105
|
? path.resolve(process.cwd(), options.script)
|
|
107
106
|
: resolveTemplateScriptPath(template);
|