@sharinpix/sharinpix-sf-cli 1.9.2 → 1.11.0

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.
Files changed (36) hide show
  1. package/README.md +206 -4
  2. package/lib/commands/sharinpix/config/pull.d.ts +18 -0
  3. package/lib/commands/sharinpix/config/pull.js +60 -0
  4. package/lib/commands/sharinpix/config/pull.js.map +1 -0
  5. package/lib/commands/sharinpix/config/push.d.ts +18 -0
  6. package/lib/commands/sharinpix/config/push.js +59 -0
  7. package/lib/commands/sharinpix/config/push.js.map +1 -0
  8. package/lib/commands/sharinpix/form/pull.d.ts +6 -1
  9. package/lib/commands/sharinpix/form/pull.js +5 -1
  10. package/lib/commands/sharinpix/form/pull.js.map +1 -1
  11. package/lib/commands/sharinpix/form/push.d.ts +7 -1
  12. package/lib/commands/sharinpix/form/push.js +3 -0
  13. package/lib/commands/sharinpix/form/push.js.map +1 -1
  14. package/lib/commands/sharinpix/permission/pull.d.ts +5 -1
  15. package/lib/commands/sharinpix/permission/pull.js +5 -1
  16. package/lib/commands/sharinpix/permission/pull.js.map +1 -1
  17. package/lib/commands/sharinpix/permission/push.d.ts +6 -1
  18. package/lib/commands/sharinpix/permission/push.js +3 -0
  19. package/lib/commands/sharinpix/permission/push.js.map +1 -1
  20. package/lib/commands/sharinpix/pull.d.ts +15 -0
  21. package/lib/commands/sharinpix/pull.js +39 -0
  22. package/lib/commands/sharinpix/pull.js.map +1 -0
  23. package/lib/commands/sharinpix/push.d.ts +16 -0
  24. package/lib/commands/sharinpix/push.js +47 -0
  25. package/lib/commands/sharinpix/push.js.map +1 -0
  26. package/lib/commands/sharinpix/settings.d.ts +10 -0
  27. package/lib/commands/sharinpix/settings.js +24 -0
  28. package/lib/commands/sharinpix/settings.js.map +1 -0
  29. package/messages/sharinpix.config.pull.md +37 -0
  30. package/messages/sharinpix.config.push.md +37 -0
  31. package/messages/sharinpix.pull.md +25 -0
  32. package/messages/sharinpix.push.md +37 -0
  33. package/messages/sharinpix.settings.md +22 -0
  34. package/oclif.lock +1042 -971
  35. package/oclif.manifest.json +392 -84
  36. package/package.json +3 -3
@@ -0,0 +1,15 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ export type PullResult = {
3
+ configs: unknown;
4
+ forms: unknown;
5
+ permissions: unknown;
6
+ };
7
+ export default class Pull extends SfCommand<PullResult> {
8
+ static readonly summary: string;
9
+ static readonly description: string;
10
+ static readonly examples: string[];
11
+ static readonly flags: {
12
+ org: import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
13
+ };
14
+ run(): Promise<PullResult>;
15
+ }
@@ -0,0 +1,39 @@
1
+ /* eslint-disable no-console */
2
+ import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
3
+ import { Messages } from '@salesforce/core';
4
+ import ConfigPull from './config/pull.js';
5
+ import FormPull from './form/pull.js';
6
+ import PermissionPull from './permission/pull.js';
7
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
8
+ const messages = Messages.loadMessages('@sharinpix/sharinpix-sf-cli', 'sharinpix.pull');
9
+ export default class Pull extends SfCommand {
10
+ static summary = messages.getMessage('summary');
11
+ static description = messages.getMessage('description');
12
+ static examples = messages.getMessages('examples');
13
+ static flags = {
14
+ org: Flags.requiredOrg({
15
+ char: 'o',
16
+ summary: messages.getMessage('flags.org.summary'),
17
+ description: messages.getMessage('flags.org.description'),
18
+ }),
19
+ };
20
+ async run() {
21
+ const { flags } = await this.parse(Pull);
22
+ this.log('Pulling configs...');
23
+ const configPull = new ConfigPull(this.argv, this.config);
24
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
25
+ const configsResult = await configPull.runWithFlags(flags);
26
+ this.log('\nPulling forms...');
27
+ const formPull = new FormPull(this.argv, this.config);
28
+ const formsResult = await formPull.runWithFlags(flags);
29
+ this.log('\nPulling permissions...');
30
+ const permissionPull = new PermissionPull(this.argv, this.config);
31
+ const permissionsResult = await permissionPull.runWithFlags(flags);
32
+ return {
33
+ configs: configsResult,
34
+ forms: formsResult,
35
+ permissions: permissionsResult,
36
+ };
37
+ }
38
+ }
39
+ //# sourceMappingURL=pull.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pull.js","sourceRoot":"","sources":["../../../src/commands/sharinpix/pull.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAElD,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,6BAA6B,EAAE,gBAAgB,CAAC,CAAC;AAQxF,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,SAAqB;IAC9C,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,MAAM,CAAU,KAAK,GAAG;QAC7B,GAAG,EAAE,KAAK,CAAC,WAAW,CAAC;YACrB,IAAI,EAAE,GAAG;YACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC;YACjD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;SAC1D,CAAC;KACH,CAAC;IAEK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAEzC,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAC1D,mEAAmE;QACnE,MAAM,aAAa,GAAG,MAAM,UAAU,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAE3D,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;QAC/B,MAAM,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QACtD,MAAM,WAAW,GAAG,MAAM,QAAQ,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAEvD,IAAI,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;QACrC,MAAM,cAAc,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAClE,MAAM,iBAAiB,GAAG,MAAM,cAAc,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAEnE,OAAO;YACL,OAAO,EAAE,aAAa;YACtB,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,iBAAiB;SAC/B,CAAC;IACJ,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ export type PushResult = {
3
+ configs: unknown;
4
+ forms: unknown;
5
+ permissions: unknown;
6
+ };
7
+ export default class Push extends SfCommand<PushResult> {
8
+ static readonly summary: string;
9
+ static readonly description: string;
10
+ static readonly examples: string[];
11
+ static readonly flags: {
12
+ org: import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
13
+ delete: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ };
15
+ run(): Promise<PushResult>;
16
+ }
@@ -0,0 +1,47 @@
1
+ /* eslint-disable no-console */
2
+ import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
3
+ import { Messages } from '@salesforce/core';
4
+ import ConfigPush from './config/push.js';
5
+ import FormPush from './form/push.js';
6
+ import PermissionPush from './permission/push.js';
7
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
8
+ const messages = Messages.loadMessages('@sharinpix/sharinpix-sf-cli', 'sharinpix.push');
9
+ export default class Push extends SfCommand {
10
+ static summary = messages.getMessage('summary');
11
+ static description = messages.getMessage('description');
12
+ static examples = messages.getMessages('examples');
13
+ static flags = {
14
+ org: Flags.requiredOrg({
15
+ char: 'o',
16
+ summary: messages.getMessage('flags.org.summary'),
17
+ description: messages.getMessage('flags.org.description'),
18
+ }),
19
+ delete: Flags.boolean({
20
+ char: 'd',
21
+ summary: messages.getMessage('flags.delete.summary'),
22
+ description: messages.getMessage('flags.delete.description'),
23
+ default: false,
24
+ }),
25
+ };
26
+ async run() {
27
+ const { flags } = await this.parse(Push);
28
+ this.log('Pushing configs...');
29
+ const configPush = new ConfigPush(this.argv, this.config);
30
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call
31
+ const configsResult = await configPush.runWithFlags(flags);
32
+ this.log('\nPushing forms...');
33
+ const formPush = new FormPush(this.argv, this.config);
34
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
35
+ const formsResult = await formPush.runWithFlags(flags);
36
+ this.log('\nPushing permissions...');
37
+ const permissionPush = new PermissionPush(this.argv, this.config);
38
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
39
+ const permissionsResult = await permissionPush.runWithFlags(flags);
40
+ return {
41
+ configs: configsResult,
42
+ forms: formsResult,
43
+ permissions: permissionsResult,
44
+ };
45
+ }
46
+ }
47
+ //# sourceMappingURL=push.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"push.js","sourceRoot":"","sources":["../../../src/commands/sharinpix/push.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAElD,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,6BAA6B,EAAE,gBAAgB,CAAC,CAAC;AAQxF,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,SAAqB;IAC9C,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,MAAM,CAAU,KAAK,GAAG;QAC7B,GAAG,EAAE,KAAK,CAAC,WAAW,CAAC;YACrB,IAAI,EAAE,GAAG;YACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC;YACjD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;SAC1D,CAAC;QACF,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC;YACpB,IAAI,EAAE,GAAG;YACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;YACpD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;YAC5D,OAAO,EAAE,KAAK;SACf,CAAC;KACH,CAAC;IAEK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAEzC,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAC1D,sGAAsG;QACtG,MAAM,aAAa,GAAG,MAAM,UAAU,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAE3D,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;QAC/B,MAAM,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QACtD,mEAAmE;QACnE,MAAM,WAAW,GAAG,MAAM,QAAQ,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAEvD,IAAI,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;QACrC,MAAM,cAAc,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAClE,mEAAmE;QACnE,MAAM,iBAAiB,GAAG,MAAM,cAAc,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAEnE,OAAO;YACL,OAAO,EAAE,aAAa;YACtB,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,iBAAiB;SAC/B,CAAC;IACJ,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ export default class Settings extends SfCommand<void> {
3
+ static readonly summary: string;
4
+ static readonly description: string;
5
+ static readonly examples: string[];
6
+ static readonly flags: {
7
+ org: import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
8
+ };
9
+ run(): Promise<void>;
10
+ }
@@ -0,0 +1,24 @@
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('@sharinpix/sharinpix-sf-cli', 'sharinpix.settings');
5
+ const SHARINPIX_SETTINGS_PATH = '/lightning/n/sharinpix__SharinPix_setting';
6
+ export default class Settings extends SfCommand {
7
+ static summary = messages.getMessage('summary');
8
+ static description = messages.getMessage('description');
9
+ static examples = messages.getMessages('examples');
10
+ static flags = {
11
+ org: Flags.requiredOrg({
12
+ char: 'o',
13
+ summary: messages.getMessage('flags.org.summary'),
14
+ description: messages.getMessage('flags.org.description'),
15
+ }),
16
+ };
17
+ async run() {
18
+ const { flags } = await this.parse(Settings);
19
+ const targetOrg = flags.org.getUsername();
20
+ if (targetOrg)
21
+ await this.config.runCommand('org:open', ['--target-org', targetOrg, '--path', SHARINPIX_SETTINGS_PATH]);
22
+ }
23
+ }
24
+ //# sourceMappingURL=settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/commands/sharinpix/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,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,6BAA6B,EAAE,oBAAoB,CAAC,CAAC;AAE5F,MAAM,uBAAuB,GAAG,2CAA2C,CAAC;AAE5E,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,SAAe;IAC5C,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,MAAM,CAAU,KAAK,GAAG;QAC7B,GAAG,EAAE,KAAK,CAAC,WAAW,CAAC;YACrB,IAAI,EAAE,GAAG;YACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC;YACjD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;SAC1D,CAAC;KACH,CAAC;IAEK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAC7C,MAAM,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;QAC1C,IAAI,SAAS;YACX,MAAM,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC,cAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,uBAAuB,CAAC,CAAC,CAAC;IAC7G,CAAC"}
@@ -0,0 +1,37 @@
1
+ # summary
2
+
3
+ Pull organization config from SharinPix API.
4
+
5
+ # description
6
+
7
+ Downloads the organization configuration from the SharinPix API and saves it to a local JSON file. This command connects to your Salesforce org to obtain an authentication token, then fetches the config from the SharinPix API endpoint.
8
+
9
+ # flags.org.summary
10
+
11
+ The Salesforce org to authenticate with.
12
+
13
+ # flags.org.description
14
+
15
+ The Salesforce org used to obtain the authentication token for accessing the SharinPix API.
16
+
17
+ # examples
18
+
19
+ - Pull organization config using the default org:
20
+
21
+ <%= config.bin %> <%= command.id %>
22
+
23
+ - Pull organization config from a specific org:
24
+
25
+ <%= config.bin %> <%= command.id %> --target-org myorg@example.com
26
+
27
+ # info.success
28
+
29
+ Successfully pulled organization config to sharinpix/config.json
30
+
31
+ # error.failed
32
+
33
+ Failed to pull organization config: %s
34
+
35
+ # error.notFound
36
+
37
+ Config file not found at sharinpix/config.json
@@ -0,0 +1,37 @@
1
+ # summary
2
+
3
+ Push organization config to SharinPix API.
4
+
5
+ # description
6
+
7
+ Uploads the organization configuration from a local JSON file to the SharinPix API. This command connects to your Salesforce org to obtain an authentication token, then pushes the config to the SharinPix API endpoint.
8
+
9
+ # flags.org.summary
10
+
11
+ The Salesforce org to authenticate with.
12
+
13
+ # flags.org.description
14
+
15
+ The Salesforce org used to obtain the authentication token for accessing the SharinPix API.
16
+
17
+ # examples
18
+
19
+ - Push organization config using the default org:
20
+
21
+ <%= config.bin %> <%= command.id %>
22
+
23
+ - Push organization config to a specific org:
24
+
25
+ <%= config.bin %> <%= command.id %> --target-org myorg@example.com
26
+
27
+ # info.success
28
+
29
+ Successfully pushed organization config to SharinPix API
30
+
31
+ # error.failed
32
+
33
+ Failed to push organization config: %s
34
+
35
+ # error.notFound
36
+
37
+ Config file not found at sharinpix/config.json. Run 'sharinpix:config:pull' first or create the file manually.
@@ -0,0 +1,25 @@
1
+ # summary
2
+
3
+ Pull all SharinPix assets (forms and permissions) from Salesforce org.
4
+
5
+ # description
6
+
7
+ Retrieves all SharinPix form templates and permissions from the connected Salesforce org. This is a convenience command that executes both sharinpix:form:pull and sharinpix:permission:pull.
8
+
9
+ # flags.org.summary
10
+
11
+ The Salesforce org to pull assets from.
12
+
13
+ # flags.org.description
14
+
15
+ The target Salesforce org containing the SharinPix assets to be pulled.
16
+
17
+ # examples
18
+
19
+ - Pull all assets from the default org:
20
+
21
+ <%= config.bin %> <%= command.id %>
22
+
23
+ - Pull all assets from a specific org:
24
+
25
+ <%= config.bin %> <%= command.id %> --target-org myorg@example.com
@@ -0,0 +1,37 @@
1
+ # summary
2
+
3
+ Push all SharinPix assets (forms and permissions) to Salesforce org.
4
+
5
+ # description
6
+
7
+ Uploads all local SharinPix form templates and permissions to the connected Salesforce org. This is a convenience command that executes both sharinpix:form:push and sharinpix:permission:push.
8
+
9
+ # flags.org.summary
10
+
11
+ The Salesforce org to push assets to.
12
+
13
+ # flags.org.description
14
+
15
+ The target Salesforce org where the SharinPix assets will be pushed.
16
+
17
+ # flags.delete.summary
18
+
19
+ Delete assets in the org that do not exist locally.
20
+
21
+ # flags.delete.description
22
+
23
+ If specified, any form templates or permissions that exist in the org but not in the local project will be deleted.
24
+
25
+ # examples
26
+
27
+ - Push all assets to the default org:
28
+
29
+ <%= config.bin %> <%= command.id %>
30
+
31
+ - Push all assets to a specific org:
32
+
33
+ <%= config.bin %> <%= command.id %> --target-org myorg@example.com
34
+
35
+ - Push all assets and delete missing ones from the org:
36
+
37
+ <%= config.bin %> <%= command.id %> --delete
@@ -0,0 +1,22 @@
1
+ # summary
2
+
3
+ Open the SharinPix settings page in a Salesforce org.
4
+
5
+ # description
6
+
7
+ Opens the SharinPix settings Lightning page in your default browser for the specified Salesforce org. This command is a convenience wrapper around `sf org open` with the path set to `/lightning/n/sharinpix__SharinPix_setting`.
8
+
9
+ # flags.org.summary
10
+
11
+ The Salesforce org to open.
12
+
13
+ # flags.org.description
14
+
15
+ The target Salesforce org (username or alias) where the SharinPix settings page should be opened.
16
+
17
+ # examples
18
+
19
+ - Open the SharinPix settings page for a specific org:
20
+
21
+ <%= config.bin %> <%= command.id %> --target-org myorg@example.com
22
+