@bussolabs/closeyourit-cli 0.7.1 → 0.7.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.
|
@@ -2,6 +2,8 @@ import { BaseCommand } from '../../../base';
|
|
|
2
2
|
export default class SecretsAssetsList extends BaseCommand {
|
|
3
3
|
static description: string;
|
|
4
4
|
static flags: {
|
|
5
|
+
page: import("@oclif/core/lib/interfaces").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
6
|
+
per: import("@oclif/core/lib/interfaces").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
5
7
|
project: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
6
8
|
};
|
|
7
9
|
run(): Promise<unknown>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@oclif/core");
|
|
3
4
|
const base_1 = require("../../../base");
|
|
4
5
|
const output_1 = require("../../../lib/output");
|
|
5
6
|
const paginate_1 = require("../../../lib/paginate");
|
|
6
7
|
class SecretsAssetsList extends base_1.BaseCommand {
|
|
7
8
|
static description = 'List encrypted secret files visible to a project (metadata only)';
|
|
8
|
-
static flags = {
|
|
9
|
+
static flags = {
|
|
10
|
+
...base_1.projectFlag,
|
|
11
|
+
// Deprecati e ignorati: la lista ora aggrega tutte le pagine. Mantenuti per non rompere gli script.
|
|
12
|
+
page: core_1.Flags.integer({ deprecated: true, hidden: true, description: 'Deprecated: the list returns every page' }),
|
|
13
|
+
per: core_1.Flags.integer({ deprecated: true, hidden: true, description: 'Deprecated: the list returns every page' }),
|
|
14
|
+
};
|
|
9
15
|
async run() {
|
|
10
16
|
const { flags } = await this.parse(SecretsAssetsList);
|
|
11
17
|
const projectId = await this.resolveProjectId(flags.project);
|