-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs 📚: added documentation and minor tweaks
- Loading branch information
Showing
4 changed files
with
105 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,47 @@ | ||
# azureprice | ||
Go cli to check azure prices on the fly | ||
|
||
![build workflow](https://github.com/muandane/azureprice/actions/workflows/release.yml/badge.svg) | ||
|
||
azureprice is a Go CLI that retrieves pricing information for Azure services using the Azure pricing API. | ||
|
||
![Azureprice Demo](./demo.gif) | ||
|
||
## Features | ||
|
||
- Retrieves pricing info for Azure services | ||
- Outputs pricing in easy-to-read tables | ||
- Built using [lipgloss](https://github.com/charmbracelet/lipgloss) for beautiful terminal output | ||
|
||
## Installation | ||
|
||
```sh | ||
brew tap muandane/gitmoji | ||
brew install azureprice | ||
``` | ||
|
||
Or build from source: | ||
|
||
```sh | ||
git clone https://github.com/muandane/azureprice | ||
cd azureprice | ||
go build -o azureprice ./src/cmd | ||
``` | ||
|
||
## Usage | ||
|
||
```sh | ||
azureprice [flags] | ||
Usage of azureprice: | ||
-h, --help help for azureprice | ||
-r, --region string Azure region (default "westus") | ||
-s, --service string Azure service | ||
-t, --type string Azure VM type (default "Standard_B4ms") | ||
``` | ||
|
||
## Contributing | ||
|
||
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. | ||
|
||
## License | ||
|
||
[Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
Output demo.gif | ||
Set Shell zsh | ||
# Set up a 1200x600 terminal with 46px font. | ||
Set FontSize 14 | ||
Set Width 1000 | ||
Set Height 600 | ||
|
||
Sleep 500ms | ||
Sleep 500ms | ||
Type "azureprice" | ||
Type " " | ||
Sleep 50ms | ||
Type "-t " | ||
Sleep 90ms | ||
Type "S" | ||
Sleep 50ms | ||
Type "tandard" | ||
Sleep 1s | ||
Type "_" | ||
Sleep 50ms | ||
Type "P" | ||
Sleep 50ms | ||
Type "B" | ||
Sleep 50ms | ||
Type "6" | ||
Sleep 50ms | ||
Type "s -r " | ||
Sleep 500ms | ||
Type "eastus" | ||
Enter | ||
Sleep 500ms | ||
Sleep 1s | ||
Sleep 500ms | ||
Type "azureprice" | ||
Type " " | ||
Sleep 50ms | ||
Type "-s " | ||
Sleep 90ms | ||
Type "B" | ||
Sleep 50ms | ||
Type "4" | ||
Sleep 50ms | ||
Type "p" | ||
Sleep 50ms | ||
Sleep 50ms | ||
Type " -r" | ||
Sleep 500ms | ||
Type " australiaeast" | ||
Enter | ||
Sleep 500ms | ||
Sleep 2s | ||
Sleep 500ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters