@heroku-cli/plugin-mtls 0.8.2 → 0.9.1
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 +18 -33
- package/{lib/base.d.ts → base.d.ts} +11 -11
- package/{lib/base.js → base.js} +2 -2
- package/{lib/commands → commands}/data/mtls/certificates/create.js +7 -7
- package/{lib/commands → commands}/data/mtls/certificates/delete.js +7 -7
- package/{lib/commands → commands}/data/mtls/certificates/download.js +29 -26
- package/{lib/commands → commands}/data/mtls/certificates/get.js +6 -6
- package/{lib/commands → commands}/data/mtls/certificates/index.js +13 -8
- package/{lib/commands → commands}/data/mtls/create.js +8 -8
- package/{lib/commands → commands}/data/mtls/destroy.js +7 -7
- package/{lib/commands → commands}/data/mtls/index.js +15 -10
- package/{lib/commands → commands}/data/mtls/ip-rules/create.js +8 -8
- package/{lib/commands → commands}/data/mtls/ip-rules/delete.js +7 -7
- package/{lib/commands → commands}/data/mtls/ip-rules/get.js +6 -6
- package/{lib/commands → commands}/data/mtls/ip-rules/index.js +7 -7
- package/lib/{lib/fetcher.js → fetcher.js} +17 -17
- package/oclif.manifest.json +1 -1
- package/package.json +6 -39
- package/utils/is-error-http.d.ts +8 -0
- package/utils/is-error-http.js +7 -0
- package/utils/is-error-message.d.ts +3 -0
- package/utils/is-error-message.js +7 -0
- package/utils/table.d.ts +3 -0
- package/{lib/utils → utils}/table.js +5 -2
- package/LICENSE +0 -21
- package/lib/utils/table.d.ts +0 -3
- package/yarn.lock +0 -3334
- package/{lib/commands → commands}/data/mtls/certificates/create.d.ts +2 -2
- package/{lib/commands → commands}/data/mtls/certificates/delete.d.ts +2 -2
- package/{lib/commands → commands}/data/mtls/certificates/download.d.ts +2 -2
- package/{lib/commands → commands}/data/mtls/certificates/get.d.ts +2 -2
- package/{lib/commands → commands}/data/mtls/certificates/index.d.ts +2 -2
- package/{lib/commands → commands}/data/mtls/create.d.ts +2 -2
- package/{lib/commands → commands}/data/mtls/destroy.d.ts +2 -2
- package/{lib/commands → commands}/data/mtls/index.d.ts +2 -2
- package/{lib/commands → commands}/data/mtls/ip-rules/create.d.ts +2 -2
- package/{lib/commands → commands}/data/mtls/ip-rules/delete.d.ts +2 -2
- package/{lib/commands → commands}/data/mtls/ip-rules/get.d.ts +2 -2
- package/{lib/commands → commands}/data/mtls/ip-rules/index.d.ts +2 -2
- /package/{lib/index.d.ts → index.d.ts} +0 -0
- /package/{lib/index.js → index.js} +0 -0
- /package/lib/{lib/fetcher.d.ts → fetcher.d.ts} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../../base';
|
|
3
3
|
export default class MTLSCertificateCreate extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static args: {
|
|
6
5
|
name: string;
|
|
7
6
|
}[];
|
|
7
|
+
static description: string;
|
|
8
|
+
static examples: string[];
|
|
8
9
|
static flags: {
|
|
9
10
|
app: flags.IOptionFlag<string>;
|
|
10
11
|
};
|
|
11
|
-
static examples: string[];
|
|
12
12
|
run(): Promise<void>;
|
|
13
13
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../../base';
|
|
3
3
|
export default class MTLSCertificateDelete extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static args: {
|
|
6
5
|
name: string;
|
|
7
6
|
}[];
|
|
7
|
+
static description: string;
|
|
8
|
+
static examples: string[];
|
|
8
9
|
static flags: {
|
|
9
10
|
app: flags.IOptionFlag<string>;
|
|
10
11
|
id: flags.IOptionFlag<string>;
|
|
11
12
|
};
|
|
12
|
-
static examples: string[];
|
|
13
13
|
run(): Promise<void>;
|
|
14
14
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../../base';
|
|
3
3
|
export default class MTLSCertificateDownload extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static args: {
|
|
6
5
|
name: string;
|
|
7
6
|
}[];
|
|
7
|
+
static description: string;
|
|
8
|
+
static examples: string[];
|
|
8
9
|
static flags: {
|
|
9
10
|
app: flags.IOptionFlag<string>;
|
|
10
11
|
dir: flags.IOptionFlag<string | undefined>;
|
|
11
12
|
id: flags.IOptionFlag<string | undefined>;
|
|
12
13
|
prefix: flags.IOptionFlag<string>;
|
|
13
14
|
};
|
|
14
|
-
static examples: string[];
|
|
15
15
|
run(): Promise<void>;
|
|
16
16
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../../base';
|
|
3
3
|
export default class MTLSCertificateGet extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static args: {
|
|
6
5
|
name: string;
|
|
7
6
|
}[];
|
|
7
|
+
static description: string;
|
|
8
|
+
static examples: string[];
|
|
8
9
|
static flags: {
|
|
9
10
|
app: flags.IOptionFlag<string>;
|
|
10
11
|
id: flags.IOptionFlag<string>;
|
|
11
12
|
};
|
|
12
|
-
static examples: string[];
|
|
13
13
|
run(): Promise<void>;
|
|
14
14
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../../base';
|
|
3
3
|
export default class MTLSCertificatesIndex extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static args: {
|
|
6
5
|
name: string;
|
|
7
6
|
}[];
|
|
7
|
+
static description: string;
|
|
8
|
+
static examples: string[];
|
|
8
9
|
static flags: {
|
|
9
10
|
app: flags.IOptionFlag<string>;
|
|
10
11
|
};
|
|
11
|
-
static examples: string[];
|
|
12
12
|
run(): Promise<void>;
|
|
13
13
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../base';
|
|
3
3
|
export default class MTLSCreate extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static args: {
|
|
6
5
|
name: string;
|
|
7
6
|
}[];
|
|
7
|
+
static description: string;
|
|
8
|
+
static examples: string[];
|
|
8
9
|
static flags: {
|
|
9
10
|
app: flags.IOptionFlag<string>;
|
|
10
11
|
};
|
|
11
|
-
static examples: string[];
|
|
12
12
|
run(): Promise<void>;
|
|
13
13
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../base';
|
|
3
3
|
export default class MTLSDestroy extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static aliases: string[];
|
|
6
5
|
static args: {
|
|
7
6
|
name: string;
|
|
8
7
|
}[];
|
|
8
|
+
static description: string;
|
|
9
|
+
static examples: string[];
|
|
9
10
|
static flags: {
|
|
10
11
|
app: flags.IOptionFlag<string>;
|
|
11
12
|
};
|
|
12
|
-
static examples: string[];
|
|
13
13
|
run(): Promise<void>;
|
|
14
14
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../base';
|
|
3
3
|
export default class MTLSIndex extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static args: {
|
|
6
5
|
name: string;
|
|
7
6
|
}[];
|
|
7
|
+
static description: string;
|
|
8
|
+
static examples: string[];
|
|
8
9
|
static flags: {
|
|
9
10
|
app: flags.IOptionFlag<string>;
|
|
10
11
|
};
|
|
11
|
-
static examples: string[];
|
|
12
12
|
run(): Promise<void>;
|
|
13
13
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../../base';
|
|
3
3
|
export default class MTLSIPCreate extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static args: {
|
|
6
5
|
name: string;
|
|
7
6
|
}[];
|
|
7
|
+
static description: string;
|
|
8
|
+
static examples: string[];
|
|
8
9
|
static flags: {
|
|
9
10
|
app: flags.IOptionFlag<string>;
|
|
10
11
|
cidr: flags.IOptionFlag<string>;
|
|
11
12
|
description: flags.IOptionFlag<string | undefined>;
|
|
12
13
|
};
|
|
13
|
-
static examples: string[];
|
|
14
14
|
run(): Promise<void>;
|
|
15
15
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../../base';
|
|
3
3
|
export default class MTLSIPDelete extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static args: {
|
|
6
5
|
name: string;
|
|
7
6
|
}[];
|
|
7
|
+
static description: string;
|
|
8
|
+
static examples: string[];
|
|
8
9
|
static flags: {
|
|
9
10
|
app: flags.IOptionFlag<string>;
|
|
10
11
|
cidr: flags.IOptionFlag<string | undefined>;
|
|
11
12
|
id: flags.IOptionFlag<string | undefined>;
|
|
12
13
|
};
|
|
13
|
-
static examples: string[];
|
|
14
14
|
run(): Promise<void>;
|
|
15
15
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../../base';
|
|
3
3
|
export default class MTLSIPGet extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static args: {
|
|
6
5
|
name: string;
|
|
7
6
|
}[];
|
|
7
|
+
static description: string;
|
|
8
|
+
static examples: string[];
|
|
8
9
|
static flags: {
|
|
9
10
|
app: flags.IOptionFlag<string>;
|
|
10
11
|
id: flags.IOptionFlag<string>;
|
|
11
12
|
};
|
|
12
|
-
static examples: string[];
|
|
13
13
|
run(): Promise<void>;
|
|
14
14
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { flags } from '@heroku-cli/command';
|
|
2
2
|
import BaseCommand from '../../../../base';
|
|
3
3
|
export default class MTLSIPIndex extends BaseCommand {
|
|
4
|
-
static description: string;
|
|
5
4
|
static args: {
|
|
6
5
|
name: string;
|
|
7
6
|
}[];
|
|
7
|
+
static description: string;
|
|
8
|
+
static examples: string[];
|
|
8
9
|
static flags: {
|
|
9
10
|
app: flags.IOptionFlag<string>;
|
|
10
11
|
};
|
|
11
|
-
static examples: string[];
|
|
12
12
|
run(): Promise<void>;
|
|
13
13
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|