microsoft / microsoft/finops-toolkit

[PowerShell] Download-FinOpsToolkitVersion

Open
#251 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Tool: PowerShell Type: Feature 💎
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:

  1. Please vote this issue up (👍) to prioritize it.
  2. Are there any parameters that are missing?
  3. Leave comments to help us solidify the vision.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.