spine-framework 0.3.30 → 0.3.31
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/.framework/cli/index.ts +54 -52
- package/package.json +1 -1
package/.framework/cli/index.ts
CHANGED
|
@@ -46,57 +46,59 @@ program
|
|
|
46
46
|
.version('2.0.0')
|
|
47
47
|
.option('--account <id>', 'Override the account ID for this command')
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
49
|
+
;(async () => {
|
|
50
|
+
const [
|
|
51
|
+
{ registerInitCommands },
|
|
52
|
+
{ registerMigrateCommands },
|
|
53
|
+
{ registerInstallAppCommands },
|
|
54
|
+
{ registerStatusCommands },
|
|
55
|
+
{ registerAuthCommands },
|
|
56
|
+
{ registerPipelineCommands },
|
|
57
|
+
{ registerItemCommands },
|
|
58
|
+
{ registerAgentCommands },
|
|
59
|
+
{ registerMigrationCommands },
|
|
60
|
+
{ registerDoctorCommands },
|
|
61
|
+
{ registerDevCommands },
|
|
62
|
+
{ registerTestCommands },
|
|
63
|
+
{ registerSystemCommands },
|
|
64
|
+
{ registerGenerateCommands },
|
|
65
|
+
{ registerCreateAppCommands },
|
|
66
|
+
] = await Promise.all([
|
|
67
|
+
import('./commands/init.ts'),
|
|
68
|
+
import('./commands/migrate.ts'),
|
|
69
|
+
import('./commands/install-app.ts'),
|
|
70
|
+
import('./commands/status.ts'),
|
|
71
|
+
import('./commands/auth.ts'),
|
|
72
|
+
import('./commands/pipelines.ts'),
|
|
73
|
+
import('./commands/items.ts'),
|
|
74
|
+
import('./commands/agents.ts'),
|
|
75
|
+
import('./commands/migrations.ts'),
|
|
76
|
+
import('./commands/doctor.ts'),
|
|
77
|
+
import('./commands/dev.ts'),
|
|
78
|
+
import('./commands/test.ts'),
|
|
79
|
+
import('./commands/system.ts'),
|
|
80
|
+
import('./commands/generate.ts'),
|
|
81
|
+
import('./commands/create-app.ts'),
|
|
82
|
+
])
|
|
82
83
|
|
|
83
|
-
registerInitCommands(program)
|
|
84
|
-
registerMigrateCommands(program)
|
|
85
|
-
registerInstallAppCommands(program)
|
|
86
|
-
registerStatusCommands(program)
|
|
87
|
-
registerAuthCommands(program)
|
|
88
|
-
registerPipelineCommands(program)
|
|
89
|
-
registerItemCommands(program)
|
|
90
|
-
registerAgentCommands(program)
|
|
91
|
-
registerMigrationCommands(program)
|
|
92
|
-
registerDoctorCommands(program)
|
|
93
|
-
registerDevCommands(program)
|
|
94
|
-
registerTestCommands(program)
|
|
95
|
-
registerSystemCommands(program)
|
|
96
|
-
registerGenerateCommands(program)
|
|
97
|
-
registerCreateAppCommands(program)
|
|
84
|
+
registerInitCommands(program)
|
|
85
|
+
registerMigrateCommands(program)
|
|
86
|
+
registerInstallAppCommands(program)
|
|
87
|
+
registerStatusCommands(program)
|
|
88
|
+
registerAuthCommands(program)
|
|
89
|
+
registerPipelineCommands(program)
|
|
90
|
+
registerItemCommands(program)
|
|
91
|
+
registerAgentCommands(program)
|
|
92
|
+
registerMigrationCommands(program)
|
|
93
|
+
registerDoctorCommands(program)
|
|
94
|
+
registerDevCommands(program)
|
|
95
|
+
registerTestCommands(program)
|
|
96
|
+
registerSystemCommands(program)
|
|
97
|
+
registerGenerateCommands(program)
|
|
98
|
+
registerCreateAppCommands(program)
|
|
98
99
|
|
|
99
|
-
program.parseAsync(process.argv).catch((err) => {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
})
|
|
100
|
+
program.parseAsync(process.argv).catch((err) => {
|
|
101
|
+
console.error('Error:', err.message)
|
|
102
|
+
process.exit(1)
|
|
103
|
+
})
|
|
104
|
+
})()
|