azure-cost-cli 0.20.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.20.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.20.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=azure-cost-cli&version=0.20.0                
nuke :add-package azure-cost-cli --version 0.20.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 8,582 9/18/2024
0.42.0 236 9/17/2024
0.41.0 9,570 7/2/2024
0.40.0 3,795 5/28/2024
0.39.0 7,836 3/19/2024
0.38.0 479 3/16/2024
0.37.0 2,699 2/16/2024
0.36.0 3,745 12/22/2023
0.35.0 2,102 11/3/2023
0.34.0 1,263 10/5/2023
0.33.0 744 9/24/2023
0.32.0 3,015 8/7/2023
0.31.0 556 7/14/2023
0.30.0 386 7/7/2023
0.29.0 187 7/7/2023
0.28.0 570 6/23/2023
0.27.0 293 6/20/2023
0.26.0 178 6/20/2023
0.25.0 242 6/16/2023
0.24.0 247 6/13/2023
0.23.0 270 6/10/2023
0.22.0 191 6/9/2023
0.21.0 230 6/7/2023
0.20.0 177 6/7/2023
0.19.0 530 5/22/2023
0.18.0 225 5/21/2023
0.17.0 214 5/18/2023
0.16.0 315 5/9/2023
0.15.0 208 5/8/2023
0.14.0 170 5/8/2023
0.13.0 658 4/23/2023
0.12.0 239 4/21/2023
0.11.0 213 4/21/2023
0.10.0 204 4/21/2023
0.9.0 333 4/17/2023
0.8.0 349 4/16/2023
0.7.0 234 4/15/2023
0.6.0 300 4/14/2023
0.5.0 292 4/14/2023
0.4.0 248 4/13/2023
0.3.0 225 4/13/2023
0.2.0 286 4/11/2023
0.1.0 227 4/11/2023