Skip to content

melihhtasci/exchange-cli

Repository files navigation

Exchange CLI

This cli shows rate of exchange via this free api.

rate is default command to run. This command shows 1 dollar and euro value opposing turkish lira as in picture below.


Help command is similar like other CLIs. rate --h


On previos version, i was using Option to get parameters. We were supposed to use parameter by dash. I changed it with Argument.

You can see the usage in picture below




Packing

  1. Edit project file and add these lines into PropertyGroup tag.
<PackAsTool>true</PackAsTool>
<ToolCommandName>rate</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
  1. run dotnet pack
  2. run dotnet tool install --global --add-source ./nupkg exchange-cli

About

Simple CLI that show you rate of exchange

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages