@hyperdrive.bot/gut 0.2.6-alpha.0 → 0.2.6
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/README.md +1 -1
- package/dist/commands/repos.js +1 -18
- package/dist/commands/ticket/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ $ npm install -g @hyperdrive.bot/gut
|
|
|
48
48
|
$ gut COMMAND
|
|
49
49
|
running command...
|
|
50
50
|
$ gut (--version)
|
|
51
|
-
@hyperdrive.bot/gut/0.2.
|
|
51
|
+
@hyperdrive.bot/gut/0.2.6-alpha.0 linux-x64 node-v22.22.3
|
|
52
52
|
$ gut --help [COMMAND]
|
|
53
53
|
USAGE
|
|
54
54
|
$ gut COMMAND
|
package/dist/commands/repos.js
CHANGED
|
@@ -46,24 +46,7 @@ export default class Repos extends BaseCommand {
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
if (entities.length === 0) {
|
|
49
|
-
|
|
50
|
-
// `this.error()` which exited with code 1 + stderr — confusing for scripts
|
|
51
|
-
// that pipeline `gut repos | <cmd>` and treat empty as "nothing to do".
|
|
52
|
-
if (flags.json) {
|
|
53
|
-
this.log(JSON.stringify([], null, 2));
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
const filterHint = flags.type ? ` of type "${flags.type}"` : '';
|
|
57
|
-
const accessibleHint = flags.accessible ? ' that exist on disk' : '';
|
|
58
|
-
this.log(chalk.yellow(`No accessible repositories${filterHint}${accessibleHint} found.`));
|
|
59
|
-
if (flags.accessible) {
|
|
60
|
-
this.log(chalk.dim(' Hint: run `gut entity clone-all` to clone configured entities.'));
|
|
61
|
-
}
|
|
62
|
-
else if (flags.type) {
|
|
63
|
-
this.log(chalk.dim(' Hint: run `gut entity list` to see all registered entity types.'));
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return;
|
|
49
|
+
this.error('No repositories found matching criteria');
|
|
67
50
|
}
|
|
68
51
|
// Collect repository information
|
|
69
52
|
const repos = [];
|
|
@@ -44,13 +44,13 @@ export default class Ticket extends BaseCommand {
|
|
|
44
44
|
this.log(chalk.bold('Configuration:'));
|
|
45
45
|
this.log('');
|
|
46
46
|
this.log(' Set these environment variables:');
|
|
47
|
-
this.log(` ${chalk.cyan('GUT_API_ENDPOINT')} - API base URL (e.g., https://api.
|
|
47
|
+
this.log(` ${chalk.cyan('GUT_API_ENDPOINT')} - API base URL (e.g., https://api.example.com)`);
|
|
48
48
|
this.log(` ${chalk.cyan('GUT_TENANT_ID')} - Your tenant ID`);
|
|
49
49
|
this.log(` ${chalk.cyan('GUT_AUTH_TOKEN')} - Authentication token (optional)`);
|
|
50
50
|
this.log('');
|
|
51
51
|
this.log(' Or create `.gut/api.json` in your workspace:');
|
|
52
52
|
this.log(chalk.dim(' {'));
|
|
53
|
-
this.log(chalk.dim(' "apiEndpoint": "https://api.
|
|
53
|
+
this.log(chalk.dim(' "apiEndpoint": "https://api.example.com",'));
|
|
54
54
|
this.log(chalk.dim(' "tenantId": "your-tenant-id"'));
|
|
55
55
|
this.log(chalk.dim(' }'));
|
|
56
56
|
this.log('');
|
package/package.json
CHANGED