sf-plugin-permission-sets 0.0.0-dev.3 → 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/messages/ps.info.md +17 -0
- package/oclif.lock +1350 -1187
- package/oclif.manifest.json +10 -21
- package/package.json +3 -3
- package/lib/commands/hello/world.d.ts +0 -14
- package/lib/commands/hello/world.js +0 -27
- package/lib/commands/hello/world.js.map +0 -1
- package/messages/hello.world.md +0 -29
package/oclif.manifest.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"ps:info": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Print the plugin name and what it does. A quick way to confirm the plugin is installed and working.",
|
|
7
7
|
"examples": [
|
|
8
|
-
"
|
|
9
|
-
"Say hello to someone you know:\n<%= config.bin %> <%= command.id %> --name Astro"
|
|
8
|
+
"Show plugin info:\n<%= config.bin %> <%= command.id %>"
|
|
10
9
|
],
|
|
11
10
|
"flags": {
|
|
12
11
|
"json": {
|
|
@@ -23,40 +22,30 @@
|
|
|
23
22
|
"hasDynamicHelp": false,
|
|
24
23
|
"multiple": false,
|
|
25
24
|
"type": "option"
|
|
26
|
-
},
|
|
27
|
-
"name": {
|
|
28
|
-
"char": "n",
|
|
29
|
-
"description": "This person can be anyone in the world!",
|
|
30
|
-
"name": "name",
|
|
31
|
-
"summary": "The name of the person you'd like to say hello to.",
|
|
32
|
-
"default": "World",
|
|
33
|
-
"hasDynamicHelp": false,
|
|
34
|
-
"multiple": false,
|
|
35
|
-
"type": "option"
|
|
36
25
|
}
|
|
37
26
|
},
|
|
38
27
|
"hasDynamicHelp": false,
|
|
39
28
|
"hiddenAliases": [],
|
|
40
|
-
"id": "
|
|
29
|
+
"id": "ps:info",
|
|
41
30
|
"pluginAlias": "sf-plugin-permission-sets",
|
|
42
31
|
"pluginName": "sf-plugin-permission-sets",
|
|
43
32
|
"pluginType": "core",
|
|
44
33
|
"strict": true,
|
|
45
|
-
"summary": "
|
|
34
|
+
"summary": "Show information about the permission-sets plugin.",
|
|
46
35
|
"enableJsonFlag": true,
|
|
47
36
|
"isESM": true,
|
|
48
37
|
"relativePath": [
|
|
49
38
|
"lib",
|
|
50
39
|
"commands",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
40
|
+
"ps",
|
|
41
|
+
"info.js"
|
|
53
42
|
],
|
|
54
43
|
"aliasPermutations": [],
|
|
55
44
|
"permutations": [
|
|
56
|
-
"
|
|
57
|
-
"
|
|
45
|
+
"ps:info",
|
|
46
|
+
"info:ps"
|
|
58
47
|
]
|
|
59
48
|
}
|
|
60
49
|
},
|
|
61
|
-
"version": "0.0.0-dev.
|
|
50
|
+
"version": "0.0.0-dev.4"
|
|
62
51
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/zaclummys/sf-plugin-permission-sets.git"
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@oclif/plugin-help"
|
|
49
49
|
],
|
|
50
50
|
"topics": {
|
|
51
|
-
"
|
|
52
|
-
"description": "
|
|
51
|
+
"ps": {
|
|
52
|
+
"description": "Manage permission set assignments declaratively."
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"flexibleTaxonomy": true
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
-
export type HelloWorldResult = {
|
|
3
|
-
name: string;
|
|
4
|
-
time: string;
|
|
5
|
-
};
|
|
6
|
-
export default class World extends SfCommand<HelloWorldResult> {
|
|
7
|
-
static readonly summary: string;
|
|
8
|
-
static readonly description: string;
|
|
9
|
-
static readonly examples: string[];
|
|
10
|
-
static readonly flags: {
|
|
11
|
-
name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
-
};
|
|
13
|
-
run(): Promise<HelloWorldResult>;
|
|
14
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { SfCommand, Flags } 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', 'hello.world');
|
|
5
|
-
export default class World extends SfCommand {
|
|
6
|
-
static summary = messages.getMessage('summary');
|
|
7
|
-
static description = messages.getMessage('description');
|
|
8
|
-
static examples = messages.getMessages('examples');
|
|
9
|
-
static flags = {
|
|
10
|
-
name: Flags.string({
|
|
11
|
-
char: 'n',
|
|
12
|
-
summary: messages.getMessage('flags.name.summary'),
|
|
13
|
-
description: messages.getMessage('flags.name.description'),
|
|
14
|
-
default: 'World',
|
|
15
|
-
}),
|
|
16
|
-
};
|
|
17
|
-
async run() {
|
|
18
|
-
const { flags } = await this.parse(World);
|
|
19
|
-
const time = new Date().toDateString();
|
|
20
|
-
this.log(messages.getMessage('info.hello', [flags.name, time]));
|
|
21
|
-
return {
|
|
22
|
-
name: flags.name,
|
|
23
|
-
time,
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=world.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"world.js","sourceRoot":"","sources":["../../../src/commands/hello/world.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BA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
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.
|