prr-kit 2.0.3 → 2.0.4
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/package.json +1 -1
- package/tools/cli/commands/install.js +0 -2
- package/tools/cli/lib/ui.js +0 -11
package/package.json
CHANGED
|
@@ -17,8 +17,6 @@ module.exports = {
|
|
|
17
17
|
['--user-name <name>', 'Name for agents to use'],
|
|
18
18
|
['--communication-language <lang>', 'Language for agent communication (default: English)'],
|
|
19
19
|
['--output-folder <path>', 'Output folder relative to project root (default: _prr-output)'],
|
|
20
|
-
['--target-repo <path>', 'Path to git repository to review (default: .)'],
|
|
21
|
-
['--github-repo <owner/repo>', 'GitHub repository for posting comments (optional)'],
|
|
22
20
|
['-y, --yes', 'Accept all defaults and skip prompts'],
|
|
23
21
|
],
|
|
24
22
|
action: async (options) => {
|
package/tools/cli/lib/ui.js
CHANGED
|
@@ -65,15 +65,6 @@ class UI {
|
|
|
65
65
|
|| (!cliOptions.yes && await this._ask('Output folder (relative to project root)?', '_prr-output'))
|
|
66
66
|
|| '_prr-output';
|
|
67
67
|
|
|
68
|
-
// PRR module config
|
|
69
|
-
const targetRepo = cliOptions.targetRepo
|
|
70
|
-
|| (!cliOptions.yes && await this._ask('Path to the git repo to review?', '.'))
|
|
71
|
-
|| '.';
|
|
72
|
-
|
|
73
|
-
const githubRepo = cliOptions.githubRepo
|
|
74
|
-
|| (!cliOptions.yes && await this._ask('GitHub repo for posting comments? (owner/repo, blank to skip)', ''))
|
|
75
|
-
|| '';
|
|
76
|
-
|
|
77
68
|
// Modules (default: prr)
|
|
78
69
|
const modulesInput = cliOptions.modules
|
|
79
70
|
? parseList(cliOptions.modules)
|
|
@@ -110,8 +101,6 @@ class UI {
|
|
|
110
101
|
userName,
|
|
111
102
|
communicationLanguage,
|
|
112
103
|
outputFolder,
|
|
113
|
-
targetRepo,
|
|
114
|
-
githubRepo,
|
|
115
104
|
selectedModules: modulesInput,
|
|
116
105
|
selectedIdes,
|
|
117
106
|
existing,
|