makaron-cli 0.5.1 → 0.5.2
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/makaron.mjs +5 -1
- package/package.json +1 -1
package/bin/makaron.mjs
CHANGED
|
@@ -614,7 +614,11 @@ if (command === 'login') {
|
|
|
614
614
|
let videoModel = undefined;
|
|
615
615
|
let preferredModel = undefined;
|
|
616
616
|
for (let i = 1; i < args.length; i++) {
|
|
617
|
-
if (args[i] === '--
|
|
617
|
+
if (args[i] === '--help' || args[i] === '-h') {
|
|
618
|
+
console.error('Usage: makaron chat --project <id|auto> [--image <file>] [--stream] [--background|-b] [--json] "your message"');
|
|
619
|
+
process.exit(0);
|
|
620
|
+
}
|
|
621
|
+
else if (args[i] === '--project' && args[i + 1]) projectId = args[++i];
|
|
618
622
|
else if (args[i] === '--image' && args[i + 1]) chatImages.push(args[++i]);
|
|
619
623
|
else if (args[i] === '--stream') useStream = true;
|
|
620
624
|
else if (args[i] === '--background' || args[i] === '-b') background = true;
|