rippletide 1.0.9 → 1.0.10
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/bin/rippletide +7 -0
- package/package.json +1 -1
package/bin/rippletide
CHANGED
|
@@ -14,6 +14,13 @@ async function loadErrorHandler() {
|
|
|
14
14
|
|
|
15
15
|
async function main() {
|
|
16
16
|
if (!cmd || cmd === 'eval') {
|
|
17
|
+
process.argv = ['node', 'dist/index.js', ...args.slice(cmd === 'eval' ? 1 : 0)];
|
|
18
|
+
await import('../dist/index.js');
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
if (cmd === 'list-templates' || cmd === 'templates') {
|
|
23
|
+
process.argv = ['node', 'dist/index.js', ...args];
|
|
17
24
|
await import('../dist/index.js');
|
|
18
25
|
return;
|
|
19
26
|
}
|