microsoft / microsoft/finops-toolkit
[PowerShell] Download-FinOpsToolkitVersion
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 603
- Forks
- 248
- Avg merge
- 7d 11h
- Merged PRs (30d)
- 11
Description
📝 Scenario
As a hub admin, I need to download a FinOps toolkit release in order to access the latest version of each solution
💎 Solution
Create a Download-FinOpsToolkitVersion command to download a FinOps toolkit release.
Synopsis
Downloads a FinOps toolkit release from GitHub.
Syntax
Download-FinOpsToolkitVersion `
[[-Version] <string>] `
[-Preview] `
[[-Destination] <string>]
Description
The Download-FinOpsToolkitVersion command downloads a FinOps toolkit release from GitHub and saves it to a local directory.
Parameters
| Parameter | Description |
|---|---|
Version |
Optional. Version to download. Default = "latest". |
Preview |
Optional. Indicates whether to include preview releases when -Version is "latest". Ignored when a specific version is specified. Default = false. |
Destination |
Optional. Path of the folder to save files to. Default = $env:temp. |
ℹ️ Additional info
We have a private Save-FinOpsHubTemplate command that already downloads the version. We should be able to just extract this function out of that one.
🙋♀️ Ask for the community
We could use your help:
- Please vote this issue up (👍) to prioritize it.
- Are there any parameters that are missing?
- Leave comments to help us solidify the vision.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the private Save-FinOpsHubTemplate command, since the issue says it already handles downloading a version from GitHub. Read how it resolves Version, Preview, and Destination, then identify the command entry point and any related tests. Done means a public Download-FinOpsToolkitVersion command supports the documented parameters and saves the selected release to the destination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli, release
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100