Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
ae8273a
perf: load share messages later
mshanemc Dec 29, 2023
cefc381
chore: bump plugins-core
mshanemc Dec 29, 2023
dabffa0
feat: frontdoor via post from local file
mshanemc Dec 29, 2023
79a9ef8
chore: bump open
mshanemc Dec 29, 2023
ef8b5d5
Merge remote-tracking branch 'origin/main' into sm/frontdoor-post
mshanemc Jan 2, 2024
7b22825
test: nut use nonZero
mshanemc Jan 2, 2024
ebe2074
Merge remote-tracking branch 'origin/main' into sm/frontdoor-post
mshanemc Jan 3, 2024
89aa5b5
fix: use new inquirer via sf-plugins-core
mshanemc Jan 4, 2024
3522b92
refactor: pr feedback
mshanemc Jan 5, 2024
012597d
chore: latest plugins-core
mshanemc Jan 5, 2024
622d223
chore: bump open lib
mshanemc Jan 5, 2024
9fab8a4
fix: use new option flag typing
mshanemc Jan 5, 2024
ce27bda
chore: bump plugins-core
mshanemc Jan 5, 2024
ca47737
Merge remote-tracking branch 'origin/main' into sm/new-inquirer
mshanemc Jan 5, 2024
f8397a1
test: nonZero
mshanemc Jan 5, 2024
c83613e
test: new prompt message
mshanemc Jan 5, 2024
cd767aa
Merge remote-tracking branch 'origin/main' into sm/new-inquirer
mshanemc Jan 8, 2024
fe623e8
docs: fix readme links
mshanemc Jan 8, 2024
521e85b
feat: private browser
mshanemc Jan 8, 2024
1d4ee89
Merge remote-tracking branch 'origin/main' into sm/frontdoor-post
mshanemc Jan 8, 2024
0754f85
chore: sync with meain
mshanemc Jan 8, 2024
7fd5a88
chore: os-specific wait times
mshanemc Jan 9, 2024
88b7ef2
feat: open time works for wsl
mshanemc Jan 9, 2024
a37c1aa
chore: bump open
mshanemc Jan 9, 2024
3baba10
chore: no newInstance
mshanemc Jan 9, 2024
398cd97
Merge branch 'sm/private-browser' into sm/frontdoor-post
mshanemc Jan 9, 2024
608f0f0
test: don't use newInstance by default
mshanemc Jan 9, 2024
668fa4d
Apply suggestions from code review
mshanemc Jan 9, 2024
0902663
refactor: tighter use of newInstance and private as a flag
mshanemc Jan 10, 2024
2361f6c
chore: snapshot and schema
mshanemc Jan 10, 2024
98d5984
fix: delete from from cp error listener
mshanemc Jan 10, 2024
47d7a26
test: stub returns an eventEmitter
mshanemc Jan 10, 2024
f87b639
Merge remote-tracking branch 'origin/main' into sm/frontdoor-post
mshanemc Jan 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ FLAG DESCRIPTIONS
sandbox.
```

_See code: [lib/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/create/sandbox.ts)_
_See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/create/sandbox.ts)_

## `sf org create scratch`

Expand All @@ -236,7 +236,8 @@ FLAGS
-i, --client-id=<value> Consumer key of the Dev Hub connected app.
-t, --[no-]track-source Use source tracking for this scratch org. Set --no-track-source to disable source
tracking.
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org.
-v, --target-dev-hub=<value> (required) [default: admin@integrationtesthubna40.org] Username or alias of the Dev Hub
org.
-w, --wait=<minutes> [default: 5 minutes] Number of minutes to wait for the scratch org to be ready.
-y, --duration-days=<days> [default: 7 days] Number of days before the org expires.
--api-version=<value> Override the api version used for api requests made by this command
Expand Down Expand Up @@ -369,7 +370,7 @@ FLAG DESCRIPTIONS
Omit this flag to have Salesforce generate a unique username for your org.
```

_See code: [lib/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/create/scratch.ts)_
_See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/create/scratch.ts)_

## `sf org delete sandbox`

Expand Down Expand Up @@ -413,7 +414,7 @@ EXAMPLES
$ sf org delete sandbox --target-org my-sandbox --no-prompt
```

_See code: [lib/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/delete/sandbox.ts)_
_See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/delete/sandbox.ts)_

## `sf org delete scratch`

Expand Down Expand Up @@ -455,7 +456,7 @@ EXAMPLES
$ sf org delete scratch --target-org my-scratch-org --no-prompt
```

_See code: [lib/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/delete/scratch.ts)_
_See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/delete/scratch.ts)_

## `sf org disable tracking`

Expand Down Expand Up @@ -493,7 +494,7 @@ EXAMPLES
$ sf org disable tracking
```

_See code: [lib/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/disable/tracking.ts)_
_See code: [src/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/disable/tracking.ts)_

## `sf org display`

Expand Down Expand Up @@ -537,7 +538,7 @@ EXAMPLES
$ sf org display --target-org TestOrg1 --verbose
```

_See code: [lib/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/display.ts)_
_See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/display.ts)_

## `sf org enable tracking`

Expand Down Expand Up @@ -578,7 +579,7 @@ EXAMPLES
$ sf org enable tracking
```

_See code: [lib/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/enable/tracking.ts)_
_See code: [src/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/enable/tracking.ts)_

## `sf org list`

Expand Down Expand Up @@ -616,7 +617,7 @@ EXAMPLES
$ sf org list --clean
```

_See code: [lib/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/list.ts)_
_See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/list.ts)_

## `sf org list metadata`

Expand Down Expand Up @@ -681,7 +682,7 @@ FLAG DESCRIPTIONS
Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
```

_See code: [lib/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/list/metadata.ts)_
_See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/list/metadata.ts)_

## `sf org list metadata-types`

Expand Down Expand Up @@ -735,7 +736,7 @@ FLAG DESCRIPTIONS
Override the api version used for api requests made by this command
```

_See code: [lib/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/list/metadata-types.ts)_
_See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/list/metadata-types.ts)_

## `sf org open`

Expand Down Expand Up @@ -801,7 +802,7 @@ EXAMPLES
$ sf org open --source-file force-app/main/default/flows/Hello.flow-meta.xml
```

_See code: [lib/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/open.ts)_
_See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/open.ts)_

## `sf org resume sandbox`

Expand Down Expand Up @@ -863,7 +864,7 @@ FLAG DESCRIPTIONS
returns the job ID. To resume checking the sandbox creation, rerun this command.
```

_See code: [lib/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/resume/sandbox.ts)_
_See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/resume/sandbox.ts)_

## `sf org resume scratch`

Expand Down Expand Up @@ -909,6 +910,6 @@ FLAG DESCRIPTIONS
The job ID is valid for 24 hours after you start the scratch org creation.
```

_See code: [lib/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/resume/scratch.ts)_
_See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.1/src/commands/org/resume/scratch.ts)_

<!-- commandsstop -->
2 changes: 1 addition & 1 deletion command-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"command": "org:open",
"flagAliases": ["apiversion", "sourcefile", "targetusername", "u", "urlonly"],
"flagChars": ["b", "f", "o", "p", "r"],
"flags": ["api-version", "browser", "json", "loglevel", "path", "source-file", "target-org", "url-only"],
"flags": ["api-version", "browser", "json", "loglevel", "path", "private", "source-file", "target-org", "url-only"],
"plugin": "@salesforce/plugin-org"
},
{
Expand Down
8 changes: 8 additions & 0 deletions messages/open.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ To open in a specific browser, use the --browser flag. Supported browsers are "c

$ <%= config.bin %> <%= command.id %>

- Open your default org in an incognito window of your default browser:

$ <%= config.bin %> <%= command.id %> --private

- Open the org with alias MyTestOrg1 in the Firefox browser:

$ <%= config.bin %> <%= command.id %> --target-org MyTestOrg1 --browser firefox
Expand All @@ -34,6 +38,10 @@ To open in a specific browser, use the --browser flag. Supported browsers are "c

$ <%= config.bin %> <%= command.id %> --source-file force-app/main/default/flows/Hello.flow-meta.xml

# flags.private.summary

Open the org in the default browser using private (incognito) mode.

# flags.browser.summary

Browser where the org opens.
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"@salesforce/source-deploy-retrieve": "^10.2.5",
"chalk": "^5.3.0",
"change-case": "^5.3.0",
"open": "^10.0.2"
"is-wsl": "^3.1.0",
"open": "^10.0.3"
},
"devDependencies": {
"@oclif/plugin-command-snapshot": "^5.0.5",
Expand All @@ -23,7 +24,7 @@
"@types/shelljs": "^0.8.14",
"eslint-plugin-sf-plugin": "^1.17.0",
"moment": "^2.30.1",
"oclif": "^4.1.3",
"oclif": "^4.1.4",
"shelljs": "^0.8.5",
"shx": "0.3.4",
"ts-node": "^10.9.2",
Expand Down
Loading