@ia-qa/cli 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/index.js +8 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -412,6 +412,7 @@ function compactHelp(m) {
|
|
|
412
412
|
'',
|
|
413
413
|
' ia-qa <tool> --help flags for one tool',
|
|
414
414
|
' ia-qa list every tool, one line each',
|
|
415
|
+
' ia-qa --version print the installed CLI version',
|
|
415
416
|
'',
|
|
416
417
|
'Examples:',
|
|
417
418
|
' ia-qa generate_uuid --count 3',
|
|
@@ -490,6 +491,13 @@ function cleanStdin(raw) {
|
|
|
490
491
|
|
|
491
492
|
async function main(argv) {
|
|
492
493
|
const args = argv.slice(2);
|
|
494
|
+
|
|
495
|
+
// Version is local — answer it before any manifest fetch so it works offline.
|
|
496
|
+
if (args[0] === '--version' || args[0] === '-v' || args[0] === 'version') {
|
|
497
|
+
process.stdout.write(VERSION + '\n');
|
|
498
|
+
return;
|
|
499
|
+
}
|
|
500
|
+
|
|
493
501
|
const server = (() => {
|
|
494
502
|
const i = args.indexOf('--server');
|
|
495
503
|
return i !== -1 && args[i + 1] ? args[i + 1].replace(/\/+$/, '') : DEFAULT_SERVER;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ia-qa/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "Run ia-qa.com's QA/LLM/dev toolbox from your shell — for AI agents (Claude Code, Copilot CLI) and humans. Zero dependencies, no signup; most tools key-free, BYOK for the LLM-powered ones.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ia-qa",
|