@execufunction/cli 0.1.0 → 0.2.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/commands/auth/login.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/commands/auth/login.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,WAAW,EAAC,MAAM,2BAA2B,CAAC;AA2CtD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW;IAChD,MAAM,CAAC,WAAW,SAAqC;IAEvD,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;MAMV;IAEI,GAAG,IAAI,OAAO,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAC,CAAC;YAmBzB,UAAU;CAoFzB"}
|
|
@@ -1,32 +1,126 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const core_1 = require("@oclif/core");
|
|
4
|
+
const node_child_process_1 = require("node:child_process");
|
|
4
5
|
const base_command_js_1 = require("../../lib/base-command.js");
|
|
5
6
|
const auth_js_1 = require("../../lib/auth.js");
|
|
7
|
+
const GRANT_TYPE = 'urn:ietf:params:oauth:grant-type:device_code';
|
|
8
|
+
function openBrowser(url) {
|
|
9
|
+
try {
|
|
10
|
+
const platform = process.platform;
|
|
11
|
+
if (platform === 'darwin') {
|
|
12
|
+
(0, node_child_process_1.execSync)(`open ${JSON.stringify(url)}`, { stdio: 'ignore' });
|
|
13
|
+
}
|
|
14
|
+
else if (platform === 'win32') {
|
|
15
|
+
(0, node_child_process_1.execSync)(`start "" ${JSON.stringify(url)}`, { stdio: 'ignore' });
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
(0, node_child_process_1.execSync)(`xdg-open ${JSON.stringify(url)}`, { stdio: 'ignore' });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
catch {
|
|
22
|
+
// Browser open failed — user can manually navigate to the URL
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function sleep(ms) {
|
|
26
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
27
|
+
}
|
|
6
28
|
class AuthLogin extends base_command_js_1.BaseCommand {
|
|
7
29
|
static description = 'Authenticate with ExecuFunction';
|
|
8
30
|
static examples = [
|
|
31
|
+
'<%= config.bin %> auth login',
|
|
9
32
|
'<%= config.bin %> auth login --token exf_pat_xxx',
|
|
10
33
|
'EXF_TOKEN=exf_pat_xxx <%= config.bin %> auth status',
|
|
11
34
|
];
|
|
12
35
|
static flags = {
|
|
13
36
|
...base_command_js_1.BaseCommand.baseFlags,
|
|
14
37
|
token: core_1.Flags.string({
|
|
15
|
-
description: 'Personal access token',
|
|
38
|
+
description: 'Personal access token (skips device flow)',
|
|
16
39
|
env: 'EXF_TOKEN',
|
|
17
40
|
}),
|
|
18
41
|
};
|
|
19
42
|
async run() {
|
|
20
43
|
const { flags } = await this.parse(AuthLogin);
|
|
21
44
|
const token = flags.token;
|
|
22
|
-
|
|
23
|
-
|
|
45
|
+
// Direct token mode: existing behavior
|
|
46
|
+
if (token) {
|
|
47
|
+
(0, auth_js_1.storeToken)(token);
|
|
48
|
+
if (!this.jsonEnabled()) {
|
|
49
|
+
this.log('Token stored in ~/.config/exf/auth.json');
|
|
50
|
+
}
|
|
51
|
+
return { stored: true };
|
|
24
52
|
}
|
|
25
|
-
|
|
53
|
+
// Device flow
|
|
54
|
+
const apiUrl = flags['api-url'] || 'https://execufunction.com';
|
|
55
|
+
return this.deviceFlow(apiUrl, flags['no-input'] ?? false);
|
|
56
|
+
}
|
|
57
|
+
async deviceFlow(apiUrl, noInput) {
|
|
58
|
+
// Step 1: Request device code
|
|
59
|
+
const deviceRes = await fetch(`${apiUrl}/auth/device`, {
|
|
60
|
+
method: 'POST',
|
|
61
|
+
headers: { 'Content-Type': 'application/json' },
|
|
62
|
+
});
|
|
63
|
+
if (!deviceRes.ok) {
|
|
64
|
+
this.error(`Failed to start device flow (HTTP ${deviceRes.status}). Is the API reachable at ${apiUrl}?`);
|
|
65
|
+
}
|
|
66
|
+
const device = await deviceRes.json();
|
|
67
|
+
// Step 2: Show code and open browser
|
|
26
68
|
if (!this.jsonEnabled()) {
|
|
27
|
-
this.log('
|
|
69
|
+
this.log('');
|
|
70
|
+
this.log(` Your verification code: ${device.user_code}`);
|
|
71
|
+
this.log('');
|
|
72
|
+
if (noInput) {
|
|
73
|
+
this.log(` Open this URL to authorize:`);
|
|
74
|
+
this.log(` ${device.verification_uri_complete}`);
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
this.log(' Opening browser...');
|
|
78
|
+
openBrowser(device.verification_uri_complete);
|
|
79
|
+
this.log(` If the browser didn't open, visit: ${device.verification_uri_complete}`);
|
|
80
|
+
}
|
|
81
|
+
this.log('');
|
|
82
|
+
this.log(' Waiting for authorization...');
|
|
83
|
+
}
|
|
84
|
+
// Step 3: Poll for token
|
|
85
|
+
let interval = device.interval * 1000;
|
|
86
|
+
const deadline = Date.now() + device.expires_in * 1000;
|
|
87
|
+
while (Date.now() < deadline) {
|
|
88
|
+
await sleep(interval);
|
|
89
|
+
const tokenRes = await fetch(`${apiUrl}/auth/device/token`, {
|
|
90
|
+
method: 'POST',
|
|
91
|
+
headers: { 'Content-Type': 'application/json' },
|
|
92
|
+
body: JSON.stringify({
|
|
93
|
+
device_code: device.device_code,
|
|
94
|
+
grant_type: GRANT_TYPE,
|
|
95
|
+
}),
|
|
96
|
+
});
|
|
97
|
+
if (tokenRes.ok) {
|
|
98
|
+
const tokenData = await tokenRes.json();
|
|
99
|
+
(0, auth_js_1.storeToken)(tokenData.access_token);
|
|
100
|
+
if (!this.jsonEnabled()) {
|
|
101
|
+
this.log(' Logged in successfully!');
|
|
102
|
+
}
|
|
103
|
+
return { stored: true };
|
|
104
|
+
}
|
|
105
|
+
const errorData = await tokenRes.json();
|
|
106
|
+
switch (errorData.error) {
|
|
107
|
+
case 'authorization_pending':
|
|
108
|
+
// Keep polling
|
|
109
|
+
break;
|
|
110
|
+
case 'slow_down':
|
|
111
|
+
interval += 5000;
|
|
112
|
+
break;
|
|
113
|
+
case 'expired_token':
|
|
114
|
+
this.error('Session expired. Run `exf auth login` again.');
|
|
115
|
+
break;
|
|
116
|
+
case 'access_denied':
|
|
117
|
+
this.error('Authorization denied.');
|
|
118
|
+
break;
|
|
119
|
+
default:
|
|
120
|
+
this.error(`Unexpected error: ${errorData.error}`);
|
|
121
|
+
}
|
|
28
122
|
}
|
|
29
|
-
|
|
123
|
+
this.error('Session expired. Run `exf auth login` again.');
|
|
30
124
|
}
|
|
31
125
|
}
|
|
32
126
|
exports.default = AuthLogin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.js","sourceRoot":"","sources":["../../../src/commands/auth/login.ts"],"names":[],"mappings":";;AAAA,sCAAkC;AAClC,+DAAsD;AACtD,+CAA6C;AAE7C,MAAqB,SAAU,SAAQ,6BAAW;IAChD,MAAM,CAAC,WAAW,GAAG,iCAAiC,CAAC;IAEvD,MAAM,CAAC,QAAQ,GAAG;QAChB,kDAAkD;QAClD,qDAAqD;KACtD,CAAC;IAEF,MAAM,CAAC,KAAK,GAAG;QACb,GAAG,6BAAW,CAAC,SAAS;QACxB,KAAK,EAAE,YAAK,CAAC,MAAM,CAAC;YAClB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"login.js","sourceRoot":"","sources":["../../../src/commands/auth/login.ts"],"names":[],"mappings":";;AAAA,sCAAkC;AAClC,2DAA4C;AAC5C,+DAAsD;AACtD,+CAA6C;AAE7C,MAAM,UAAU,GAAG,8CAA8C,CAAC;AAqBlE,SAAS,WAAW,CAAC,GAAW;IAC9B,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,IAAI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M,EAAE,IAAI,EAAC,CAAC;YACxB,CAAC;YAED,MAAM,SAAS,GAAkB,MAAM,QAAQ,CAAC,IAAI,EAAmB,CAAC;YAExE,QAAQ,SAAS,CAAC,KAAK,EAAE,CAAC;gBACxB,KAAK,uBAAuB;oBAC1B,eAAe;oBACf,MAAM;gBAER,KAAK,WAAW;oBACd,QAAQ,IAAI,IAAI,CAAC;oBACjB,MAAM;gBAER,KAAK,eAAe;oBAClB,IAAI,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC;oBAC3D,MAAM;gBAER,KAAK,eAAe;oBAClB,IAAI,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;oBACpC,MAAM;gBAER;oBACE,IAAI,CAAC,KAAK,CAAC,qBAAqB,SAAS,CAAC,KAAK,EAAE,CAAC,CAAC;YACvD,CAAC;QACH,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC;IAC7D,CAAC;;AAvHH,4BAwHC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"args": {},
|
|
6
6
|
"description": "Authenticate with ExecuFunction",
|
|
7
7
|
"examples": [
|
|
8
|
+
"<%= config.bin %> auth login",
|
|
8
9
|
"<%= config.bin %> auth login --token exf_pat_xxx",
|
|
9
10
|
"EXF_TOKEN=exf_pat_xxx <%= config.bin %> auth status"
|
|
10
11
|
],
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
"type": "boolean"
|
|
18
19
|
},
|
|
19
20
|
"token": {
|
|
20
|
-
"description": "Personal access token",
|
|
21
|
+
"description": "Personal access token (skips device flow)",
|
|
21
22
|
"env": "EXF_TOKEN",
|
|
22
23
|
"name": "token",
|
|
23
24
|
"hasDynamicHelp": false,
|
|
@@ -504,16 +505,16 @@
|
|
|
504
505
|
"update.js"
|
|
505
506
|
]
|
|
506
507
|
},
|
|
507
|
-
"
|
|
508
|
+
"code:blame": {
|
|
508
509
|
"aliases": [],
|
|
509
510
|
"args": {
|
|
510
|
-
"
|
|
511
|
-
"description": "
|
|
512
|
-
"name": "
|
|
511
|
+
"file": {
|
|
512
|
+
"description": "Relative file path",
|
|
513
|
+
"name": "file",
|
|
513
514
|
"required": true
|
|
514
515
|
}
|
|
515
516
|
},
|
|
516
|
-
"description": "
|
|
517
|
+
"description": "Git blame for a file",
|
|
517
518
|
"flags": {
|
|
518
519
|
"json": {
|
|
519
520
|
"description": "Format output as json.",
|
|
@@ -548,17 +549,18 @@
|
|
|
548
549
|
"allowNo": false,
|
|
549
550
|
"type": "boolean"
|
|
550
551
|
},
|
|
551
|
-
"
|
|
552
|
-
"
|
|
553
|
-
"
|
|
554
|
-
"
|
|
555
|
-
"
|
|
556
|
-
"
|
|
552
|
+
"root": {
|
|
553
|
+
"description": "Repository root path",
|
|
554
|
+
"name": "root",
|
|
555
|
+
"default": ".",
|
|
556
|
+
"hasDynamicHelp": false,
|
|
557
|
+
"multiple": false,
|
|
558
|
+
"type": "option"
|
|
557
559
|
}
|
|
558
560
|
},
|
|
559
561
|
"hasDynamicHelp": false,
|
|
560
562
|
"hiddenAliases": [],
|
|
561
|
-
"id": "
|
|
563
|
+
"id": "code:blame",
|
|
562
564
|
"pluginAlias": "@execufunction/cli",
|
|
563
565
|
"pluginName": "@execufunction/cli",
|
|
564
566
|
"pluginType": "core",
|
|
@@ -568,20 +570,20 @@
|
|
|
568
570
|
"relativePath": [
|
|
569
571
|
"dist",
|
|
570
572
|
"commands",
|
|
571
|
-
"
|
|
572
|
-
"
|
|
573
|
+
"code",
|
|
574
|
+
"blame.js"
|
|
573
575
|
]
|
|
574
576
|
},
|
|
575
|
-
"
|
|
577
|
+
"code:expertise": {
|
|
576
578
|
"aliases": [],
|
|
577
579
|
"args": {
|
|
578
|
-
"
|
|
580
|
+
"repo": {
|
|
579
581
|
"description": "Repository ID",
|
|
580
|
-
"name": "
|
|
582
|
+
"name": "repo",
|
|
581
583
|
"required": true
|
|
582
584
|
}
|
|
583
585
|
},
|
|
584
|
-
"description": "
|
|
586
|
+
"description": "Refresh developer expertise index for a repository",
|
|
585
587
|
"flags": {
|
|
586
588
|
"json": {
|
|
587
589
|
"description": "Format output as json.",
|
|
@@ -615,39 +617,11 @@
|
|
|
615
617
|
"name": "no-input",
|
|
616
618
|
"allowNo": false,
|
|
617
619
|
"type": "boolean"
|
|
618
|
-
},
|
|
619
|
-
"path": {
|
|
620
|
-
"description": "Absolute path to repository root",
|
|
621
|
-
"name": "path",
|
|
622
|
-
"required": true,
|
|
623
|
-
"hasDynamicHelp": false,
|
|
624
|
-
"multiple": false,
|
|
625
|
-
"type": "option"
|
|
626
|
-
},
|
|
627
|
-
"incremental": {
|
|
628
|
-
"description": "Git-aware incremental index (changed files only)",
|
|
629
|
-
"name": "incremental",
|
|
630
|
-
"allowNo": false,
|
|
631
|
-
"type": "boolean"
|
|
632
|
-
},
|
|
633
|
-
"include": {
|
|
634
|
-
"description": "Comma-separated include glob patterns",
|
|
635
|
-
"name": "include",
|
|
636
|
-
"hasDynamicHelp": false,
|
|
637
|
-
"multiple": false,
|
|
638
|
-
"type": "option"
|
|
639
|
-
},
|
|
640
|
-
"exclude": {
|
|
641
|
-
"description": "Comma-separated exclude glob patterns",
|
|
642
|
-
"name": "exclude",
|
|
643
|
-
"hasDynamicHelp": false,
|
|
644
|
-
"multiple": false,
|
|
645
|
-
"type": "option"
|
|
646
620
|
}
|
|
647
621
|
},
|
|
648
622
|
"hasDynamicHelp": false,
|
|
649
623
|
"hiddenAliases": [],
|
|
650
|
-
"id": "
|
|
624
|
+
"id": "code:expertise",
|
|
651
625
|
"pluginAlias": "@execufunction/cli",
|
|
652
626
|
"pluginName": "@execufunction/cli",
|
|
653
627
|
"pluginType": "core",
|
|
@@ -657,14 +631,20 @@
|
|
|
657
631
|
"relativePath": [
|
|
658
632
|
"dist",
|
|
659
633
|
"commands",
|
|
660
|
-
"
|
|
661
|
-
"
|
|
634
|
+
"code",
|
|
635
|
+
"expertise.js"
|
|
662
636
|
]
|
|
663
637
|
},
|
|
664
|
-
"
|
|
638
|
+
"code:history": {
|
|
665
639
|
"aliases": [],
|
|
666
|
-
"args": {
|
|
667
|
-
|
|
640
|
+
"args": {
|
|
641
|
+
"repo": {
|
|
642
|
+
"description": "Repository ID",
|
|
643
|
+
"name": "repo",
|
|
644
|
+
"required": true
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
"description": "Get commit history for a repository",
|
|
668
648
|
"flags": {
|
|
669
649
|
"json": {
|
|
670
650
|
"description": "Format output as json.",
|
|
@@ -698,11 +678,25 @@
|
|
|
698
678
|
"name": "no-input",
|
|
699
679
|
"allowNo": false,
|
|
700
680
|
"type": "boolean"
|
|
681
|
+
},
|
|
682
|
+
"path": {
|
|
683
|
+
"description": "Filter by file path",
|
|
684
|
+
"name": "path",
|
|
685
|
+
"hasDynamicHelp": false,
|
|
686
|
+
"multiple": false,
|
|
687
|
+
"type": "option"
|
|
688
|
+
},
|
|
689
|
+
"limit": {
|
|
690
|
+
"description": "Maximum number of results",
|
|
691
|
+
"name": "limit",
|
|
692
|
+
"hasDynamicHelp": false,
|
|
693
|
+
"multiple": false,
|
|
694
|
+
"type": "option"
|
|
701
695
|
}
|
|
702
696
|
},
|
|
703
697
|
"hasDynamicHelp": false,
|
|
704
698
|
"hiddenAliases": [],
|
|
705
|
-
"id": "
|
|
699
|
+
"id": "code:history",
|
|
706
700
|
"pluginAlias": "@execufunction/cli",
|
|
707
701
|
"pluginName": "@execufunction/cli",
|
|
708
702
|
"pluginType": "core",
|
|
@@ -712,14 +706,20 @@
|
|
|
712
706
|
"relativePath": [
|
|
713
707
|
"dist",
|
|
714
708
|
"commands",
|
|
715
|
-
"
|
|
716
|
-
"
|
|
709
|
+
"code",
|
|
710
|
+
"history.js"
|
|
717
711
|
]
|
|
718
712
|
},
|
|
719
|
-
"
|
|
713
|
+
"code:link": {
|
|
720
714
|
"aliases": [],
|
|
721
|
-
"args": {
|
|
722
|
-
|
|
715
|
+
"args": {
|
|
716
|
+
"task-id": {
|
|
717
|
+
"description": "Task ID",
|
|
718
|
+
"name": "task-id",
|
|
719
|
+
"required": true
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
"description": "Link a task to code (file, commit, or repository)",
|
|
723
723
|
"flags": {
|
|
724
724
|
"json": {
|
|
725
725
|
"description": "Format output as json.",
|
|
@@ -754,39 +754,39 @@
|
|
|
754
754
|
"allowNo": false,
|
|
755
755
|
"type": "boolean"
|
|
756
756
|
},
|
|
757
|
-
"
|
|
758
|
-
"description": "Repository
|
|
759
|
-
"name": "
|
|
757
|
+
"repo": {
|
|
758
|
+
"description": "Repository ID",
|
|
759
|
+
"name": "repo",
|
|
760
760
|
"required": true,
|
|
761
761
|
"hasDynamicHelp": false,
|
|
762
762
|
"multiple": false,
|
|
763
763
|
"type": "option"
|
|
764
764
|
},
|
|
765
|
-
"
|
|
766
|
-
"description": "
|
|
767
|
-
"name": "
|
|
768
|
-
"required": true,
|
|
765
|
+
"file": {
|
|
766
|
+
"description": "File path",
|
|
767
|
+
"name": "file",
|
|
769
768
|
"hasDynamicHelp": false,
|
|
770
769
|
"multiple": false,
|
|
771
770
|
"type": "option"
|
|
772
771
|
},
|
|
773
|
-
"
|
|
774
|
-
"description": "
|
|
775
|
-
"name": "
|
|
772
|
+
"commit": {
|
|
773
|
+
"description": "Commit SHA",
|
|
774
|
+
"name": "commit",
|
|
776
775
|
"hasDynamicHelp": false,
|
|
777
776
|
"multiple": false,
|
|
778
777
|
"type": "option"
|
|
779
778
|
},
|
|
780
|
-
"
|
|
781
|
-
"description": "
|
|
782
|
-
"name": "
|
|
783
|
-
"
|
|
784
|
-
"
|
|
779
|
+
"notes": {
|
|
780
|
+
"description": "Notes about the link",
|
|
781
|
+
"name": "notes",
|
|
782
|
+
"hasDynamicHelp": false,
|
|
783
|
+
"multiple": false,
|
|
784
|
+
"type": "option"
|
|
785
785
|
}
|
|
786
786
|
},
|
|
787
787
|
"hasDynamicHelp": false,
|
|
788
788
|
"hiddenAliases": [],
|
|
789
|
-
"id": "
|
|
789
|
+
"id": "code:link",
|
|
790
790
|
"pluginAlias": "@execufunction/cli",
|
|
791
791
|
"pluginName": "@execufunction/cli",
|
|
792
792
|
"pluginType": "core",
|
|
@@ -796,20 +796,25 @@
|
|
|
796
796
|
"relativePath": [
|
|
797
797
|
"dist",
|
|
798
798
|
"commands",
|
|
799
|
-
"
|
|
800
|
-
"
|
|
799
|
+
"code",
|
|
800
|
+
"link.js"
|
|
801
801
|
]
|
|
802
802
|
},
|
|
803
|
-
"
|
|
803
|
+
"code:who-knows": {
|
|
804
804
|
"aliases": [],
|
|
805
805
|
"args": {
|
|
806
|
-
"
|
|
807
|
-
"description": "
|
|
808
|
-
"name": "
|
|
806
|
+
"repo": {
|
|
807
|
+
"description": "Repository ID",
|
|
808
|
+
"name": "repo",
|
|
809
|
+
"required": true
|
|
810
|
+
},
|
|
811
|
+
"area": {
|
|
812
|
+
"description": "Path, glob, or symbol",
|
|
813
|
+
"name": "area",
|
|
809
814
|
"required": true
|
|
810
815
|
}
|
|
811
816
|
},
|
|
812
|
-
"description": "
|
|
817
|
+
"description": "Find experts for a code area",
|
|
813
818
|
"flags": {
|
|
814
819
|
"json": {
|
|
815
820
|
"description": "Format output as json.",
|
|
@@ -844,35 +849,6 @@
|
|
|
844
849
|
"allowNo": false,
|
|
845
850
|
"type": "boolean"
|
|
846
851
|
},
|
|
847
|
-
"repo": {
|
|
848
|
-
"description": "Repository ID",
|
|
849
|
-
"name": "repo",
|
|
850
|
-
"hasDynamicHelp": false,
|
|
851
|
-
"multiple": false,
|
|
852
|
-
"type": "option"
|
|
853
|
-
},
|
|
854
|
-
"language": {
|
|
855
|
-
"description": "Filter by language",
|
|
856
|
-
"name": "language",
|
|
857
|
-
"hasDynamicHelp": false,
|
|
858
|
-
"multiple": false,
|
|
859
|
-
"type": "option"
|
|
860
|
-
},
|
|
861
|
-
"symbol-type": {
|
|
862
|
-
"description": "Filter by symbol type",
|
|
863
|
-
"name": "symbol-type",
|
|
864
|
-
"hasDynamicHelp": false,
|
|
865
|
-
"multiple": false,
|
|
866
|
-
"options": [
|
|
867
|
-
"function",
|
|
868
|
-
"class",
|
|
869
|
-
"interface",
|
|
870
|
-
"type",
|
|
871
|
-
"export",
|
|
872
|
-
"impl"
|
|
873
|
-
],
|
|
874
|
-
"type": "option"
|
|
875
|
-
},
|
|
876
852
|
"limit": {
|
|
877
853
|
"description": "Maximum number of results",
|
|
878
854
|
"name": "limit",
|
|
@@ -883,7 +859,7 @@
|
|
|
883
859
|
},
|
|
884
860
|
"hasDynamicHelp": false,
|
|
885
861
|
"hiddenAliases": [],
|
|
886
|
-
"id": "
|
|
862
|
+
"id": "code:who-knows",
|
|
887
863
|
"pluginAlias": "@execufunction/cli",
|
|
888
864
|
"pluginName": "@execufunction/cli",
|
|
889
865
|
"pluginType": "core",
|
|
@@ -893,11 +869,11 @@
|
|
|
893
869
|
"relativePath": [
|
|
894
870
|
"dist",
|
|
895
871
|
"commands",
|
|
896
|
-
"
|
|
897
|
-
"
|
|
872
|
+
"code",
|
|
873
|
+
"who-knows.js"
|
|
898
874
|
]
|
|
899
875
|
},
|
|
900
|
-
"codebase:
|
|
876
|
+
"codebase:delete": {
|
|
901
877
|
"aliases": [],
|
|
902
878
|
"args": {
|
|
903
879
|
"id": {
|
|
@@ -906,7 +882,7 @@
|
|
|
906
882
|
"required": true
|
|
907
883
|
}
|
|
908
884
|
},
|
|
909
|
-
"description": "
|
|
885
|
+
"description": "Delete a repository and all indexed data",
|
|
910
886
|
"flags": {
|
|
911
887
|
"json": {
|
|
912
888
|
"description": "Format output as json.",
|
|
@@ -941,23 +917,17 @@
|
|
|
941
917
|
"allowNo": false,
|
|
942
918
|
"type": "boolean"
|
|
943
919
|
},
|
|
944
|
-
"
|
|
945
|
-
"
|
|
946
|
-
"
|
|
947
|
-
"
|
|
948
|
-
"multiple": false,
|
|
949
|
-
"type": "option"
|
|
950
|
-
},
|
|
951
|
-
"materialize": {
|
|
952
|
-
"description": "Generate a download URL for the snapshot",
|
|
953
|
-
"name": "materialize",
|
|
920
|
+
"yes": {
|
|
921
|
+
"char": "y",
|
|
922
|
+
"description": "Skip confirmation",
|
|
923
|
+
"name": "yes",
|
|
954
924
|
"allowNo": false,
|
|
955
925
|
"type": "boolean"
|
|
956
926
|
}
|
|
957
927
|
},
|
|
958
928
|
"hasDynamicHelp": false,
|
|
959
929
|
"hiddenAliases": [],
|
|
960
|
-
"id": "codebase:
|
|
930
|
+
"id": "codebase:delete",
|
|
961
931
|
"pluginAlias": "@execufunction/cli",
|
|
962
932
|
"pluginName": "@execufunction/cli",
|
|
963
933
|
"pluginType": "core",
|
|
@@ -968,10 +938,10 @@
|
|
|
968
938
|
"dist",
|
|
969
939
|
"commands",
|
|
970
940
|
"codebase",
|
|
971
|
-
"
|
|
941
|
+
"delete.js"
|
|
972
942
|
]
|
|
973
943
|
},
|
|
974
|
-
"codebase
|
|
944
|
+
"codebase": {
|
|
975
945
|
"aliases": [],
|
|
976
946
|
"args": {
|
|
977
947
|
"id": {
|
|
@@ -980,7 +950,7 @@
|
|
|
980
950
|
"required": true
|
|
981
951
|
}
|
|
982
952
|
},
|
|
983
|
-
"description": "
|
|
953
|
+
"description": "Index a codebase (scan and upload files)",
|
|
984
954
|
"flags": {
|
|
985
955
|
"json": {
|
|
986
956
|
"description": "Format output as json.",
|
|
@@ -1014,11 +984,39 @@
|
|
|
1014
984
|
"name": "no-input",
|
|
1015
985
|
"allowNo": false,
|
|
1016
986
|
"type": "boolean"
|
|
987
|
+
},
|
|
988
|
+
"path": {
|
|
989
|
+
"description": "Absolute path to repository root",
|
|
990
|
+
"name": "path",
|
|
991
|
+
"required": true,
|
|
992
|
+
"hasDynamicHelp": false,
|
|
993
|
+
"multiple": false,
|
|
994
|
+
"type": "option"
|
|
995
|
+
},
|
|
996
|
+
"incremental": {
|
|
997
|
+
"description": "Git-aware incremental index (changed files only)",
|
|
998
|
+
"name": "incremental",
|
|
999
|
+
"allowNo": false,
|
|
1000
|
+
"type": "boolean"
|
|
1001
|
+
},
|
|
1002
|
+
"include": {
|
|
1003
|
+
"description": "Comma-separated include glob patterns",
|
|
1004
|
+
"name": "include",
|
|
1005
|
+
"hasDynamicHelp": false,
|
|
1006
|
+
"multiple": false,
|
|
1007
|
+
"type": "option"
|
|
1008
|
+
},
|
|
1009
|
+
"exclude": {
|
|
1010
|
+
"description": "Comma-separated exclude glob patterns",
|
|
1011
|
+
"name": "exclude",
|
|
1012
|
+
"hasDynamicHelp": false,
|
|
1013
|
+
"multiple": false,
|
|
1014
|
+
"type": "option"
|
|
1017
1015
|
}
|
|
1018
1016
|
},
|
|
1019
1017
|
"hasDynamicHelp": false,
|
|
1020
1018
|
"hiddenAliases": [],
|
|
1021
|
-
"id": "codebase
|
|
1019
|
+
"id": "codebase",
|
|
1022
1020
|
"pluginAlias": "@execufunction/cli",
|
|
1023
1021
|
"pluginName": "@execufunction/cli",
|
|
1024
1022
|
"pluginType": "core",
|
|
@@ -1029,19 +1027,13 @@
|
|
|
1029
1027
|
"dist",
|
|
1030
1028
|
"commands",
|
|
1031
1029
|
"codebase",
|
|
1032
|
-
"
|
|
1030
|
+
"index.js"
|
|
1033
1031
|
]
|
|
1034
1032
|
},
|
|
1035
|
-
"
|
|
1033
|
+
"codebase:list": {
|
|
1036
1034
|
"aliases": [],
|
|
1037
|
-
"args": {
|
|
1038
|
-
|
|
1039
|
-
"description": "Relative file path",
|
|
1040
|
-
"name": "file",
|
|
1041
|
-
"required": true
|
|
1042
|
-
}
|
|
1043
|
-
},
|
|
1044
|
-
"description": "Git blame for a file",
|
|
1035
|
+
"args": {},
|
|
1036
|
+
"description": "List indexed repositories",
|
|
1045
1037
|
"flags": {
|
|
1046
1038
|
"json": {
|
|
1047
1039
|
"description": "Format output as json.",
|
|
@@ -1075,19 +1067,11 @@
|
|
|
1075
1067
|
"name": "no-input",
|
|
1076
1068
|
"allowNo": false,
|
|
1077
1069
|
"type": "boolean"
|
|
1078
|
-
},
|
|
1079
|
-
"root": {
|
|
1080
|
-
"description": "Repository root path",
|
|
1081
|
-
"name": "root",
|
|
1082
|
-
"default": ".",
|
|
1083
|
-
"hasDynamicHelp": false,
|
|
1084
|
-
"multiple": false,
|
|
1085
|
-
"type": "option"
|
|
1086
1070
|
}
|
|
1087
1071
|
},
|
|
1088
1072
|
"hasDynamicHelp": false,
|
|
1089
1073
|
"hiddenAliases": [],
|
|
1090
|
-
"id": "
|
|
1074
|
+
"id": "codebase:list",
|
|
1091
1075
|
"pluginAlias": "@execufunction/cli",
|
|
1092
1076
|
"pluginName": "@execufunction/cli",
|
|
1093
1077
|
"pluginType": "core",
|
|
@@ -1097,20 +1081,14 @@
|
|
|
1097
1081
|
"relativePath": [
|
|
1098
1082
|
"dist",
|
|
1099
1083
|
"commands",
|
|
1100
|
-
"
|
|
1101
|
-
"
|
|
1084
|
+
"codebase",
|
|
1085
|
+
"list.js"
|
|
1102
1086
|
]
|
|
1103
1087
|
},
|
|
1104
|
-
"
|
|
1088
|
+
"codebase:register": {
|
|
1105
1089
|
"aliases": [],
|
|
1106
|
-
"args": {
|
|
1107
|
-
|
|
1108
|
-
"description": "Repository ID",
|
|
1109
|
-
"name": "repo",
|
|
1110
|
-
"required": true
|
|
1111
|
-
}
|
|
1112
|
-
},
|
|
1113
|
-
"description": "Refresh developer expertise index for a repository",
|
|
1090
|
+
"args": {},
|
|
1091
|
+
"description": "Register a codebase for indexing",
|
|
1114
1092
|
"flags": {
|
|
1115
1093
|
"json": {
|
|
1116
1094
|
"description": "Format output as json.",
|
|
@@ -1144,11 +1122,40 @@
|
|
|
1144
1122
|
"name": "no-input",
|
|
1145
1123
|
"allowNo": false,
|
|
1146
1124
|
"type": "boolean"
|
|
1125
|
+
},
|
|
1126
|
+
"name": {
|
|
1127
|
+
"description": "Repository name",
|
|
1128
|
+
"name": "name",
|
|
1129
|
+
"required": true,
|
|
1130
|
+
"hasDynamicHelp": false,
|
|
1131
|
+
"multiple": false,
|
|
1132
|
+
"type": "option"
|
|
1133
|
+
},
|
|
1134
|
+
"path": {
|
|
1135
|
+
"description": "Absolute path to repository root",
|
|
1136
|
+
"name": "path",
|
|
1137
|
+
"required": true,
|
|
1138
|
+
"hasDynamicHelp": false,
|
|
1139
|
+
"multiple": false,
|
|
1140
|
+
"type": "option"
|
|
1141
|
+
},
|
|
1142
|
+
"project": {
|
|
1143
|
+
"description": "Project ID to associate",
|
|
1144
|
+
"name": "project",
|
|
1145
|
+
"hasDynamicHelp": false,
|
|
1146
|
+
"multiple": false,
|
|
1147
|
+
"type": "option"
|
|
1148
|
+
},
|
|
1149
|
+
"auto-index": {
|
|
1150
|
+
"description": "Enable automatic indexing",
|
|
1151
|
+
"name": "auto-index",
|
|
1152
|
+
"allowNo": false,
|
|
1153
|
+
"type": "boolean"
|
|
1147
1154
|
}
|
|
1148
1155
|
},
|
|
1149
1156
|
"hasDynamicHelp": false,
|
|
1150
1157
|
"hiddenAliases": [],
|
|
1151
|
-
"id": "
|
|
1158
|
+
"id": "codebase:register",
|
|
1152
1159
|
"pluginAlias": "@execufunction/cli",
|
|
1153
1160
|
"pluginName": "@execufunction/cli",
|
|
1154
1161
|
"pluginType": "core",
|
|
@@ -1158,20 +1165,20 @@
|
|
|
1158
1165
|
"relativePath": [
|
|
1159
1166
|
"dist",
|
|
1160
1167
|
"commands",
|
|
1161
|
-
"
|
|
1162
|
-
"
|
|
1168
|
+
"codebase",
|
|
1169
|
+
"register.js"
|
|
1163
1170
|
]
|
|
1164
1171
|
},
|
|
1165
|
-
"
|
|
1172
|
+
"codebase:search": {
|
|
1166
1173
|
"aliases": [],
|
|
1167
1174
|
"args": {
|
|
1168
|
-
"
|
|
1169
|
-
"description": "
|
|
1170
|
-
"name": "
|
|
1175
|
+
"query": {
|
|
1176
|
+
"description": "Search query",
|
|
1177
|
+
"name": "query",
|
|
1171
1178
|
"required": true
|
|
1172
1179
|
}
|
|
1173
1180
|
},
|
|
1174
|
-
"description": "
|
|
1181
|
+
"description": "Semantic code search",
|
|
1175
1182
|
"flags": {
|
|
1176
1183
|
"json": {
|
|
1177
1184
|
"description": "Format output as json.",
|
|
@@ -1206,11 +1213,33 @@
|
|
|
1206
1213
|
"allowNo": false,
|
|
1207
1214
|
"type": "boolean"
|
|
1208
1215
|
},
|
|
1209
|
-
"
|
|
1210
|
-
"description": "
|
|
1211
|
-
"name": "
|
|
1216
|
+
"repo": {
|
|
1217
|
+
"description": "Repository ID",
|
|
1218
|
+
"name": "repo",
|
|
1219
|
+
"hasDynamicHelp": false,
|
|
1220
|
+
"multiple": false,
|
|
1221
|
+
"type": "option"
|
|
1222
|
+
},
|
|
1223
|
+
"language": {
|
|
1224
|
+
"description": "Filter by language",
|
|
1225
|
+
"name": "language",
|
|
1226
|
+
"hasDynamicHelp": false,
|
|
1227
|
+
"multiple": false,
|
|
1228
|
+
"type": "option"
|
|
1229
|
+
},
|
|
1230
|
+
"symbol-type": {
|
|
1231
|
+
"description": "Filter by symbol type",
|
|
1232
|
+
"name": "symbol-type",
|
|
1212
1233
|
"hasDynamicHelp": false,
|
|
1213
1234
|
"multiple": false,
|
|
1235
|
+
"options": [
|
|
1236
|
+
"function",
|
|
1237
|
+
"class",
|
|
1238
|
+
"interface",
|
|
1239
|
+
"type",
|
|
1240
|
+
"export",
|
|
1241
|
+
"impl"
|
|
1242
|
+
],
|
|
1214
1243
|
"type": "option"
|
|
1215
1244
|
},
|
|
1216
1245
|
"limit": {
|
|
@@ -1223,7 +1252,7 @@
|
|
|
1223
1252
|
},
|
|
1224
1253
|
"hasDynamicHelp": false,
|
|
1225
1254
|
"hiddenAliases": [],
|
|
1226
|
-
"id": "
|
|
1255
|
+
"id": "codebase:search",
|
|
1227
1256
|
"pluginAlias": "@execufunction/cli",
|
|
1228
1257
|
"pluginName": "@execufunction/cli",
|
|
1229
1258
|
"pluginType": "core",
|
|
@@ -1233,20 +1262,20 @@
|
|
|
1233
1262
|
"relativePath": [
|
|
1234
1263
|
"dist",
|
|
1235
1264
|
"commands",
|
|
1236
|
-
"
|
|
1237
|
-
"
|
|
1265
|
+
"codebase",
|
|
1266
|
+
"search.js"
|
|
1238
1267
|
]
|
|
1239
1268
|
},
|
|
1240
|
-
"
|
|
1269
|
+
"codebase:snapshot": {
|
|
1241
1270
|
"aliases": [],
|
|
1242
1271
|
"args": {
|
|
1243
|
-
"
|
|
1244
|
-
"description": "
|
|
1245
|
-
"name": "
|
|
1272
|
+
"id": {
|
|
1273
|
+
"description": "Repository ID",
|
|
1274
|
+
"name": "id",
|
|
1246
1275
|
"required": true
|
|
1247
1276
|
}
|
|
1248
1277
|
},
|
|
1249
|
-
"description": "
|
|
1278
|
+
"description": "Get latest index snapshot for a repository",
|
|
1250
1279
|
"flags": {
|
|
1251
1280
|
"json": {
|
|
1252
1281
|
"description": "Format output as json.",
|
|
@@ -1281,39 +1310,23 @@
|
|
|
1281
1310
|
"allowNo": false,
|
|
1282
1311
|
"type": "boolean"
|
|
1283
1312
|
},
|
|
1284
|
-
"
|
|
1285
|
-
"description": "
|
|
1286
|
-
"name": "
|
|
1287
|
-
"required": true,
|
|
1288
|
-
"hasDynamicHelp": false,
|
|
1289
|
-
"multiple": false,
|
|
1290
|
-
"type": "option"
|
|
1291
|
-
},
|
|
1292
|
-
"file": {
|
|
1293
|
-
"description": "File path",
|
|
1294
|
-
"name": "file",
|
|
1295
|
-
"hasDynamicHelp": false,
|
|
1296
|
-
"multiple": false,
|
|
1297
|
-
"type": "option"
|
|
1298
|
-
},
|
|
1299
|
-
"commit": {
|
|
1300
|
-
"description": "Commit SHA",
|
|
1301
|
-
"name": "commit",
|
|
1313
|
+
"branch": {
|
|
1314
|
+
"description": "Filter by branch",
|
|
1315
|
+
"name": "branch",
|
|
1302
1316
|
"hasDynamicHelp": false,
|
|
1303
1317
|
"multiple": false,
|
|
1304
1318
|
"type": "option"
|
|
1305
1319
|
},
|
|
1306
|
-
"
|
|
1307
|
-
"description": "
|
|
1308
|
-
"name": "
|
|
1309
|
-
"
|
|
1310
|
-
"
|
|
1311
|
-
"type": "option"
|
|
1320
|
+
"materialize": {
|
|
1321
|
+
"description": "Generate a download URL for the snapshot",
|
|
1322
|
+
"name": "materialize",
|
|
1323
|
+
"allowNo": false,
|
|
1324
|
+
"type": "boolean"
|
|
1312
1325
|
}
|
|
1313
1326
|
},
|
|
1314
1327
|
"hasDynamicHelp": false,
|
|
1315
1328
|
"hiddenAliases": [],
|
|
1316
|
-
"id": "
|
|
1329
|
+
"id": "codebase:snapshot",
|
|
1317
1330
|
"pluginAlias": "@execufunction/cli",
|
|
1318
1331
|
"pluginName": "@execufunction/cli",
|
|
1319
1332
|
"pluginType": "core",
|
|
@@ -1323,25 +1336,20 @@
|
|
|
1323
1336
|
"relativePath": [
|
|
1324
1337
|
"dist",
|
|
1325
1338
|
"commands",
|
|
1326
|
-
"
|
|
1327
|
-
"
|
|
1339
|
+
"codebase",
|
|
1340
|
+
"snapshot.js"
|
|
1328
1341
|
]
|
|
1329
1342
|
},
|
|
1330
|
-
"
|
|
1343
|
+
"codebase:status": {
|
|
1331
1344
|
"aliases": [],
|
|
1332
1345
|
"args": {
|
|
1333
|
-
"
|
|
1346
|
+
"id": {
|
|
1334
1347
|
"description": "Repository ID",
|
|
1335
|
-
"name": "
|
|
1336
|
-
"required": true
|
|
1337
|
-
},
|
|
1338
|
-
"area": {
|
|
1339
|
-
"description": "Path, glob, or symbol",
|
|
1340
|
-
"name": "area",
|
|
1348
|
+
"name": "id",
|
|
1341
1349
|
"required": true
|
|
1342
1350
|
}
|
|
1343
1351
|
},
|
|
1344
|
-
"description": "
|
|
1352
|
+
"description": "Check indexing status for a repository",
|
|
1345
1353
|
"flags": {
|
|
1346
1354
|
"json": {
|
|
1347
1355
|
"description": "Format output as json.",
|
|
@@ -1375,18 +1383,11 @@
|
|
|
1375
1383
|
"name": "no-input",
|
|
1376
1384
|
"allowNo": false,
|
|
1377
1385
|
"type": "boolean"
|
|
1378
|
-
},
|
|
1379
|
-
"limit": {
|
|
1380
|
-
"description": "Maximum number of results",
|
|
1381
|
-
"name": "limit",
|
|
1382
|
-
"hasDynamicHelp": false,
|
|
1383
|
-
"multiple": false,
|
|
1384
|
-
"type": "option"
|
|
1385
1386
|
}
|
|
1386
1387
|
},
|
|
1387
1388
|
"hasDynamicHelp": false,
|
|
1388
1389
|
"hiddenAliases": [],
|
|
1389
|
-
"id": "
|
|
1390
|
+
"id": "codebase:status",
|
|
1390
1391
|
"pluginAlias": "@execufunction/cli",
|
|
1391
1392
|
"pluginName": "@execufunction/cli",
|
|
1392
1393
|
"pluginType": "core",
|
|
@@ -1396,8 +1397,8 @@
|
|
|
1396
1397
|
"relativePath": [
|
|
1397
1398
|
"dist",
|
|
1398
1399
|
"commands",
|
|
1399
|
-
"
|
|
1400
|
-
"
|
|
1400
|
+
"codebase",
|
|
1401
|
+
"status.js"
|
|
1401
1402
|
]
|
|
1402
1403
|
},
|
|
1403
1404
|
"documents:upload": {
|
|
@@ -3736,5 +3737,5 @@
|
|
|
3736
3737
|
]
|
|
3737
3738
|
}
|
|
3738
3739
|
},
|
|
3739
|
-
"version": "0.
|
|
3740
|
+
"version": "0.2.0"
|
|
3740
3741
|
}
|