create-mastra 0.1.0-alpha.7 → 0.1.0-alpha.9
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/dist/index.js +2 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -28,6 +28,7 @@ program
|
|
|
28
28
|
.option('--default', 'Quick start with defaults(src, OpenAI, no examples)')
|
|
29
29
|
.option('-c, --components <components>', 'Comma-separated list of components (agents, tools, workflows)')
|
|
30
30
|
.option('-l, --llm <model-provider>', 'Default model provider (openai, anthropic, or groq)')
|
|
31
|
+
.option('-k, --llm-api-key <api-key>', 'API key for the model provider')
|
|
31
32
|
.option('-e, --example', 'Include example code')
|
|
32
33
|
.action(async (args) => {
|
|
33
34
|
if (args.default) {
|
|
@@ -42,6 +43,7 @@ program
|
|
|
42
43
|
components: args.components,
|
|
43
44
|
llmProvider: args.llm,
|
|
44
45
|
addExample: args.example,
|
|
46
|
+
llmApiKey: args['llm-api-key'],
|
|
45
47
|
});
|
|
46
48
|
});
|
|
47
49
|
program.parse(process.argv);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-mastra",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.9",
|
|
4
4
|
"description": "Create Mastra apps with one command",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"commander": "^12.0.0",
|
|
20
20
|
"fs-extra": "^11.2.0",
|
|
21
|
-
"mastra": "0.1.57-alpha.
|
|
21
|
+
"mastra": "0.1.57-alpha.76"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^22.1.0",
|