-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sf project deploy start
has inconsistent documentation
#2538
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
BTW, this seems to be a wider documentation issue. At least one other command
|
Hey @chivalry, sorry for the late reply. This is due to how let's keep this open, maybe we can get a way to improve the help text while still keeping this pattern in our flags |
Thanks, @cristiand391. I just found it momentarily confusing while I was moving our |
This issue has been linked to a new work item: W-14512755 |
I think there's a potential oclif-level fix for this, but we can fix in |
Summary
sf project deploy start --help
includes the following in the documentation:This is incorrect, as the flag is not required, although if
default-org
isn't configured, it is required. Numerous examples in the documentation omit the--target-org
flag.I'd suggest changing the wording to:
Steps To Reproduce
target-org
is set to a valid org, executesf project deploy start
and confirm no error occurs.sf config unset target-org
, attempt to executesf project deploy start
and confirm that an error occurs.Expected result
The documentation shouldn't state that
--target-org
is required when it isn't always required.Actual result
The documentation specifies that
--target-org
is required when that isn't always the case.System Information
Additional information
I did a cursory look for where the documentation is sourced from but wasn't able to easily find it. If given directions to the file where the documentation exists I'd be happy to edit the file and submit a PR.
The text was updated successfully, but these errors were encountered: