azure-cost-cli 0.9.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global azure-cost-cli --version 0.9.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local azure-cost-cli --version 0.9.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=azure-cost-cli&version=0.9.0                
nuke :add-package azure-cost-cli --version 0.9.0                

Azure Cost CLI

This is a simple command line tool to get the cost of your Azure subscription. It uses the Azure Cost Management API to get the cost and output the results to the console or JSON. E.g. so it can be used in a workflow to get the cost of your subscription and use it in subsequent steps.

alternate text is missing from this package README image

Installation

You can install this tool globally, using the dotnet tool command:

dotnet tool install --global azure-cost-cli 

Upgrading

When there is a new version available on NuGet, you can use the dotnet tool update command to upgrade:

dotnet tool update --global azure-cost-cli 

With a --version parameter, you can specify a specific version to install. Use the --no-cache parameter to force a re-download of the package if it cannot find the latest version.

Usage

You can invoke the tool using the azure-cost command. You can use the --help parameter to get a list of all available options.

azure-cost --help
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.43.0 7,906 9/18/2024
0.42.0 234 9/17/2024
0.41.0 9,568 7/2/2024
0.40.0 3,785 5/28/2024
0.39.0 7,834 3/19/2024
0.38.0 477 3/16/2024
0.37.0 2,695 2/16/2024
0.36.0 3,743 12/22/2023
0.35.0 2,100 11/3/2023
0.34.0 1,261 10/5/2023
0.33.0 742 9/24/2023
0.32.0 3,011 8/7/2023
0.31.0 554 7/14/2023
0.30.0 384 7/7/2023
0.29.0 185 7/7/2023
0.28.0 568 6/23/2023
0.27.0 291 6/20/2023
0.26.0 176 6/20/2023
0.25.0 240 6/16/2023
0.24.0 245 6/13/2023
0.23.0 268 6/10/2023
0.22.0 189 6/9/2023
0.21.0 228 6/7/2023
0.20.0 176 6/7/2023
0.19.0 528 5/22/2023
0.18.0 223 5/21/2023
0.17.0 212 5/18/2023
0.16.0 314 5/9/2023
0.15.0 205 5/8/2023
0.14.0 168 5/8/2023
0.13.0 656 4/23/2023
0.12.0 235 4/21/2023
0.11.0 211 4/21/2023
0.10.0 202 4/21/2023
0.9.0 330 4/17/2023
0.8.0 347 4/16/2023
0.7.0 233 4/15/2023
0.6.0 298 4/14/2023
0.5.0 290 4/14/2023
0.4.0 246 4/13/2023
0.3.0 223 4/13/2023
0.2.0 284 4/11/2023
0.1.0 226 4/11/2023