You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aliases are user-defined short names that make it easier to use the CLI. For example, users often set an alias for a scratch org usernames because they're long and unintuitive. Check the --help of a CLI command to determine where you can use an alias.
8
+
9
+
You can associate an alias with only one value at a time. If you set an alias multiple times, the alias points to the most recent value. Aliases are global; after you set an alias, you can use it in any Salesforce DX project on your computer.
10
+
11
+
Use quotes to specify an alias value that contains spaces. You typically use an equal sign to set your alias, although you don't need it if you're setting a single alias in a command.
Copy file name to clipboardExpand all lines: messages/config.list.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ List the configuration variables that you've previously set.
4
4
5
5
# description
6
6
7
-
Global configuration variables apply to any directory and are always displayed. If you run this command from a project directory, local configuration variables are also displayed.
7
+
Global configuration variables apply to any Salesforce DX project and are always displayed. If you run this command from a project directory, local configuration variables are also displayed.
Copy file name to clipboardExpand all lines: messages/config.set.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Set one or more configuration variables, such as your default org.
6
6
7
7
Use configuration variables to set CLI defaults, such as your default org or the API version you want the CLI to use. For example, if you set the "target-org" configuration variable, you don't need to specify it as a "sf deploy metadata" flag if you're deploying to your default org.
8
8
9
-
Local configuration variables apply only to your current project. Global variables, specified with the --global flag, apply in any directory.
9
+
Local configuration variables apply only to your current project. Global variables, specified with the --global flag, apply in any Salesforce DX project.
10
10
11
11
The resolution order if you've set a flag value in multiple ways is as follows:
12
12
@@ -30,18 +30,18 @@ Run "sf config list" to see the configuration variables you've already set and t
0 commit comments