testronaut 1.0.21 → 1.0.22
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/cli.js +15 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -54,6 +54,20 @@ Examples:
|
|
|
54
54
|
if (args.includes('--init')) {
|
|
55
55
|
await initializeTestronautProject();
|
|
56
56
|
await createWelcomeMission();
|
|
57
|
+
|
|
58
|
+
console.log(`
|
|
59
|
+
✅ Project initialized!
|
|
60
|
+
|
|
61
|
+
Next steps:
|
|
62
|
+
1. Get an API key from your AI provider
|
|
63
|
+
2. Add it to your .env file as OPENAI_API_KEY
|
|
64
|
+
3. Run your first mission:
|
|
65
|
+
npx testronaut
|
|
66
|
+
|
|
67
|
+
📚 Docs: https://docs.testronaut.app/docs/guides/cli-auth
|
|
68
|
+
`);
|
|
69
|
+
|
|
70
|
+
|
|
57
71
|
process.exit(0);
|
|
58
72
|
}
|
|
59
73
|
|
|
@@ -499,7 +513,7 @@ async function serveLatestReport() {
|
|
|
499
513
|
await new Promise((resolve, reject) => {
|
|
500
514
|
server.once('error', reject);
|
|
501
515
|
server.listen(0, '127.0.0.1', resolve);
|
|
502
|
-
|
|
516
|
+
|
|
503
517
|
process.on('SIGINT', () => {
|
|
504
518
|
console.log('\n🛑 Shutting down…');
|
|
505
519
|
server.close(() => {
|