DateInfo 0.2.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global DateInfo --version 0.2.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 DateInfo --version 0.2.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DateInfo&version=0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package DateInfo --version 0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DateInfo
DateInfo is a simple CLI tool that outputs info about the day.
How to Install
Run the following command on your shell
dotnet tool install --global DateInfo
How to Run
After installed, the simpler way to call the cli is:
dateinfo today
It will default for today, and using guessing your locale by the current Culture.
If you're like me, that likes the computer in english but live in Portugal, there is a way to force a specific locale:
dateinfo today --locale pt-PT
You can also try to see other day other than the current day with --day
option. The day format is fixed as YYYY-MM-DD.
dateinfo today --locale pt-PT --day 2024-06-10
Commands
Today
Show some info about today
dateinfo today
Next Holiday
Shows when is the next holiday of the current year
datetinfo next
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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.