-
Notifications
You must be signed in to change notification settings - Fork 189
Adds usage info to each task #20
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,3 +1,15 @@ | ||||||||||||||||||||||||||||||||
| # This task installs choco package files | ||||||||||||||||||||||||||||||||
| # | ||||||||||||||||||||||||||||||||
| # USAGE | ||||||||||||||||||||||||||||||||
| # | ||||||||||||||||||||||||||||||||
| # - task: choco | ||||||||||||||||||||||||||||||||
| # inputs: | ||||||||||||||||||||||||||||||||
| # packages: "vscode, azure-cli" | ||||||||||||||||||||||||||||||||
| # Versions: "{ 'vscode'='1.80.0'; 'azure-cli'='2.50.0' }" | ||||||||||||||||||||||||||||||||
| # additionalOptions: "--verbose --ignore-dependencies" | ||||||||||||||||||||||||||||||||
|
Comment on lines
+5
to
+9
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Two examples that I found worked well with the LLMs are: examples:
- task: choco
description: install OracleJDK 17.0.1
inputs:
package: oraclejdk
version: 17.0.1
- task: choco
description: install notepad++
inputs:
package: notepadplusplus |
||||||||||||||||||||||||||||||||
| # | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| name: choco | ||||||||||||||||||||||||||||||||
| command: "./choco.ps1 -Packages {{packages}} -Versions {{Versions}}" | ||||||||||||||||||||||||||||||||
| inputs: | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,12 @@ | ||
| # This is a simple powershell command execution task for Dev Box. | ||
| # | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Examples that I saw worked well with the LLMs were: examples:
- task: powershell
description: print hello world
inputs:
command: "Write-Host hello, world!"
- task: powershell
description: run script
inputs:
command: "./script.ps1"
workingDirectory: C:\\provisioning\\temp |
||
| # USAGE | ||
| # | ||
| # - task: powershell | ||
| # inputs: | ||
| # command: "Get-Date" | ||
| # workingDirectory: "." | ||
| # | ||
|
|
||
| name: powershell | ||
| description: Execute a powershell command | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure you intended this change in
choco.ps1, did you?