agriffard 1.2.0
dotnet tool install --global agriffard --version 1.2.0
dotnet new tool-manifest
dotnet tool install --local agriffard --version 1.2.0
#tool dotnet:?package=agriffard&version=1.2.0
nuke :add-package agriffard --version 1.2.0
agriffard-card-dnx
A .NET global tool that displays a personal business card in your terminal. 💠
Overview
A CLI tool built for the .NET ecosystem using the new dnx command introduced in .NET 10! Run it instantly to access "agriffard" Antoine Griffard's resources and information—no installation required!
Quick Start with dnx
The easiest way to run this tool is with the new dnx command (similar to npx in Node.js):
dnx agriffard
That's it! The first time you run it, you'll be prompted to confirm the download. After that, it runs instantly without confirmation.
Available Commands
View help and available commands:
dnx agriffard
Display the business card:
dnx agriffard card
Open agriffard's blog:
dnx agriffard blog
Check the version:
dnx agriffard --version
Interactive Mode
Run in interactive mode to execute multiple commands without re-running the tool:
dnx agriffard -i
In interactive mode, simply type commands:
> card
(displays card)
> blog
(opens blog)
> exit
Exit by typing exit, quit, or pressing Enter on an empty line.
Recent Activity Command
The recent command displays your latest activity from multiple platforms:
dnx agriffard recent
Use --verbose to see detailed progress from each source:
dnx agriffard recent --verbose
The verbose mode shows:
- ✅ Number of results found from each source
- ⚠️ Sources with no results
- ❌ Any errors encountered while fetching data
Activity is displayed with relative timestamps like "5 min ago" or "2 hours ago" for recent items, and short dates for older items.
Permanent Installation
To install globally and run as just agriffard (without dnx):
dotnet tool install -g agriffard
Then run from anywhere:
agriffard # Show help
agriffard card # Display business card
agriffard --version # Check version
Managing the Installation
Update to the latest version:
dotnet tool update -g agriffard
Uninstall:
dotnet tool uninstall -g agriffard
Features
- ⚡ One-command execution with the new
dnxcommand—no installation needed! - 🎨 Beautiful terminal UI with Spectre.Console
- 💼 Quick access to professional links
- 🌐 Cross-platform (Windows, macOS, Linux)
- 🚀 Built with .NET 10.0
dnx vs. Global Installation
Key Differences:
| Method | Command | Installation | Use Case |
|---|---|---|---|
| dnx | dnx agriffard |
None (downloads on first run) | Try it once, occasional use |
| Global Tool | agriffard |
Permanent (dotnet tool install -g) |
Frequent use, always available |
The dnx command is .NET's answer to Node.js's npx, introduced in .NET 10. It allows you to run .NET tools on-demand without explicitly installing them. Perfect for trying out tools or running one-off commands!
Learn more: Running one-off .NET tools with dnx
Building from Source
dotnet build
dotnet pack
dotnet tool install -g --add-source ./bin/Debug agriffard
About
Created by Antoine Griffard "agriffard"
Specializing in Clean Architecture, Domain-Driven Design, and .NET development.
Contributing
For maintainers: See CONTRIBUTING.md for instructions on publishing new versions.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.