sf-plugin-permission-sets 0.0.0-dev → 0.0.0-dev.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/lib/commands/ps/info.d.ts +11 -0
- package/lib/commands/ps/info.js +17 -0
- package/lib/commands/ps/info.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/messages/ps.info.md +17 -0
- package/oclif.manifest.json +49 -2
- package/package.json +7 -3
- package/messages/hello.world.md +0 -29
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
+
export type PsInfoResult = {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
};
|
|
6
|
+
export default class Info extends SfCommand<PsInfoResult> {
|
|
7
|
+
static readonly summary: string;
|
|
8
|
+
static readonly description: string;
|
|
9
|
+
static readonly examples: string[];
|
|
10
|
+
run(): Promise<PsInfoResult>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
+
import { Messages } from '@salesforce/core';
|
|
3
|
+
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
4
|
+
const messages = Messages.loadMessages('sf-plugin-permission-sets', 'ps.info');
|
|
5
|
+
export default class Info extends SfCommand {
|
|
6
|
+
static summary = messages.getMessage('summary');
|
|
7
|
+
static description = messages.getMessage('description');
|
|
8
|
+
static examples = messages.getMessages('examples');
|
|
9
|
+
async run() {
|
|
10
|
+
await this.parse(Info);
|
|
11
|
+
const name = 'sf-plugin-permission-sets';
|
|
12
|
+
const description = 'Declarative, GitOps-style management of permission set assignments.';
|
|
13
|
+
this.log(messages.getMessage('info.summary', [name, description]));
|
|
14
|
+
return { name, description };
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=info.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info.js","sourceRoot":"","sources":["../../../src/commands/ps/info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,2BAA2B,EAAE,SAAS,CAAC,CAAC;AAO/E,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,SAAuB;IAChD,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE5D,KAAK,CAAC,GAAG;QACd,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACvB,MAAM,IAAI,GAAG,2BAA2B,CAAC;QACzC,MAAM,WAAW,GAAG,qEAAqE,CAAC;QAC1F,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;QACnE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;IAC/B,CAAC"}
|
package/lib/index.d.ts
ADDED
package/lib/index.js
ADDED
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Show information about the permission-sets plugin.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Print the plugin name and what it does. A quick way to confirm the plugin is installed and working.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
- Show plugin info:
|
|
12
|
+
|
|
13
|
+
<%= config.bin %> <%= command.id %>
|
|
14
|
+
|
|
15
|
+
# info.summary
|
|
16
|
+
|
|
17
|
+
%s - %s
|
package/oclif.manifest.json
CHANGED
|
@@ -1,4 +1,51 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commands": {
|
|
3
|
-
|
|
2
|
+
"commands": {
|
|
3
|
+
"ps:info": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Print the plugin name and what it does. A quick way to confirm the plugin is installed and working.",
|
|
7
|
+
"examples": [
|
|
8
|
+
"Show plugin info:\n<%= config.bin %> <%= command.id %>"
|
|
9
|
+
],
|
|
10
|
+
"flags": {
|
|
11
|
+
"json": {
|
|
12
|
+
"description": "Format output as json.",
|
|
13
|
+
"helpGroup": "GLOBAL",
|
|
14
|
+
"name": "json",
|
|
15
|
+
"allowNo": false,
|
|
16
|
+
"type": "boolean"
|
|
17
|
+
},
|
|
18
|
+
"flags-dir": {
|
|
19
|
+
"helpGroup": "GLOBAL",
|
|
20
|
+
"name": "flags-dir",
|
|
21
|
+
"summary": "Import flag values from a directory.",
|
|
22
|
+
"hasDynamicHelp": false,
|
|
23
|
+
"multiple": false,
|
|
24
|
+
"type": "option"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"hasDynamicHelp": false,
|
|
28
|
+
"hiddenAliases": [],
|
|
29
|
+
"id": "ps:info",
|
|
30
|
+
"pluginAlias": "sf-plugin-permission-sets",
|
|
31
|
+
"pluginName": "sf-plugin-permission-sets",
|
|
32
|
+
"pluginType": "core",
|
|
33
|
+
"strict": true,
|
|
34
|
+
"summary": "Show information about the permission-sets plugin.",
|
|
35
|
+
"enableJsonFlag": true,
|
|
36
|
+
"isESM": true,
|
|
37
|
+
"relativePath": [
|
|
38
|
+
"lib",
|
|
39
|
+
"commands",
|
|
40
|
+
"ps",
|
|
41
|
+
"info.js"
|
|
42
|
+
],
|
|
43
|
+
"aliasPermutations": [],
|
|
44
|
+
"permutations": [
|
|
45
|
+
"ps:info",
|
|
46
|
+
"info:ps"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"version": "0.0.0-dev.4"
|
|
4
51
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sf-plugin-permission-sets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "0.0.0-dev",
|
|
4
|
+
"version": "0.0.0-dev.4",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/zaclummys/sf-plugin-permission-sets.git"
|
|
8
|
+
},
|
|
5
9
|
"dependencies": {
|
|
6
10
|
"@oclif/core": "^4",
|
|
7
11
|
"@salesforce/core": "^8",
|
|
@@ -44,8 +48,8 @@
|
|
|
44
48
|
"@oclif/plugin-help"
|
|
45
49
|
],
|
|
46
50
|
"topics": {
|
|
47
|
-
"
|
|
48
|
-
"description": "
|
|
51
|
+
"ps": {
|
|
52
|
+
"description": "Manage permission set assignments declaratively."
|
|
49
53
|
}
|
|
50
54
|
},
|
|
51
55
|
"flexibleTaxonomy": true
|
package/messages/hello.world.md
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# summary
|
|
2
|
-
|
|
3
|
-
Say hello.
|
|
4
|
-
|
|
5
|
-
# description
|
|
6
|
-
|
|
7
|
-
Say hello either to the world or someone you know.
|
|
8
|
-
|
|
9
|
-
# flags.name.summary
|
|
10
|
-
|
|
11
|
-
The name of the person you'd like to say hello to.
|
|
12
|
-
|
|
13
|
-
# flags.name.description
|
|
14
|
-
|
|
15
|
-
This person can be anyone in the world!
|
|
16
|
-
|
|
17
|
-
# examples
|
|
18
|
-
|
|
19
|
-
- Say hello to the world:
|
|
20
|
-
|
|
21
|
-
<%= config.bin %> <%= command.id %>
|
|
22
|
-
|
|
23
|
-
- Say hello to someone you know:
|
|
24
|
-
|
|
25
|
-
<%= config.bin %> <%= command.id %> --name Astro
|
|
26
|
-
|
|
27
|
-
# info.hello
|
|
28
|
-
|
|
29
|
-
Hello %s at %s.
|