(#1021) Provide clarity to choco sync command#1324
Conversation
3dd3e8a to
7c6246f
Compare
|
@imm0rtalsupp0rt Does this follow the new standard "shape" for docs? Is that codified somewhere? This PR is a good opportunity to introduce those changes. Otherwise, we'll touch this again in the future. |
@steviecoaster this has some of the new shape I'm looking to implement. There are other changes for other parts of the documentation that have specific entries, such as versions of products, but this follows a structure that I think works across the majority of the docs. I haven't codified it yet, but I'm working on a list from the notes that I have and how the docs are written currently, and once I have one that I can share, I'm happy to do so. |
There was a problem hiding this comment.
I think you should add an additional section for the example below. Use the following code example to run choco sync against multiple installed software with a single command.
$mapping = @{
'Google Chrome' = 'googlechrome'
'Docker Dekstop' = 'docker-desktop'
'Microsoft Visual C++ v14 Redistributable (x64) - 14.50.35719'= 'vcredist140'
'Microsoft Visual Studio Code' = 'vscode'
}
$mapping.GetEnumerator() | Foreach-Object {choco sync --id="$($_.Key)" --package-id="$($_.Value)" }7c6246f to
b6a5322
Compare
The change was made in a later commit.
b6a5322 to
b7c0304
Compare
b7c0304 to
3e7dfd3
Compare
3e7dfd3 to
604e9ae
Compare
d9b252b to
1b50ee5
Compare
We get a lot of questions about how to run `choco sync` and this commit provides clarity on how the command works, recommended and alternate usage guidance, and a callout at the top of the page to alert users to the power of the command itself.
1b50ee5 to
7f296f2
Compare
Description Of Changes
This commit provides recommended and alternate guidance, including a callout at the top of the page to alert users to the power of the command itself.
Motivation and Context
We get a lot of questions about how to run
choco syncand this should provide the clarity requested.Testing
Change Types Made
Change Checklist
Related Issue
Fixes #1021