@@ -69,34 +69,41 @@ This command must be run from within a project.
69
69
70
70
```
71
71
USAGE
72
- $ sf deploy
72
+ $ sf deploy [--interactive]
73
73
74
- OPTIONS
75
- --interactive
74
+ FLAGS
75
+ --interactive Force the CLI to prompt for all deployment inputs.
76
76
77
77
DESCRIPTION
78
- The command first analyzes your project, your active or logged-into environments, and local defaults to determine what
79
- to deploy and where to deploy it. The command then prompts you for information about this particular deployment and
78
+ Deploy a project interactively to any Salesforce environment.
79
+
80
+ This command must be run from within a project.
81
+
82
+ The command first analyzes your project, your active or logged-into environments, and local defaults to determine what
83
+ to deploy and where to deploy it. The command then prompts you for information about this particular deployment and
80
84
provides intelligent choices based on its analysis.
81
85
82
- For example, if your local project contains a source directory with metadata files in source format, the command asks
83
- if you want to deploy that Salesforce app to an org. The command lists your connected orgs and asks which one you want
84
- to deploy to. The list of orgs starts with scratch orgs, ordered by expiration date with the most recently created one
85
- first, and then Dev Hub and production orgs ordered by name. If the command finds Apex tests, it asks if you want to
86
+ For example, if your local project contains a source directory with metadata files in source format, the command asks
87
+ if you want to deploy that Salesforce app to an org. The command lists your connected orgs and asks which one you want
88
+ to deploy to. The list of orgs starts with scratch orgs, ordered by expiration date with the most recently created one
89
+ first, and then Dev Hub and production orgs ordered by name. If the command finds Apex tests, it asks if you want to
86
90
run them and at which level.
87
91
88
- The command stores your responses in the "deploy-options.json" file in your local project directory and uses them as
92
+ The command stores your responses in the "deploy-options.json" file in your local project directory and uses them as
89
93
defaults when you rerun the command. Specify --interactive to force the command to reprompt.
90
94
91
- Use this command for quick and simple deploys. For more complicated deployments, use the environment-specific
95
+ Use this command for quick and simple deploys. For more complicated deployments, use the environment-specific
92
96
commands, such as "sf deploy metadata", that provide additional flags.
93
97
94
98
EXAMPLES
95
99
Deploy a project and use stored values from a previous command run:
96
- sf deploy
100
+
101
+ $ sf deploy
102
+
97
103
Reprompt for all deployment inputs:
98
- sf deploy --interactive
104
+
105
+ $ sf deploy --interactive
99
106
```
100
107
101
- _ See code: [ src/commands/deploy.ts] ( https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v0.0.21 /src/commands/deploy.ts ) _
108
+ _ See code: [ src/commands/deploy.ts] ( https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v0.0.22 /src/commands/deploy.ts ) _
102
109
<!-- commandsstop -->
0 commit comments