xyCmdCheatSheet 1.0.3
dotnet tool install --global xyCmdCheatSheet --version 1.0.3
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local xyCmdCheatSheet --version 1.0.3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=xyCmdCheatSheet&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package xyCmdCheatSheet --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
xyCmdCheatSheet
A lightweight .NET8 CLI tool to look up shell commands by category, with support for custom entries.
Installation
# Global (recommended)
dotnet tool install --global xyCmdCheatSheet
# Local (per project)
dotnet new tool-manifest
dotnet tool install --local xyCmdCheatSheet
Usage
xycmd Show all commands
xycmd <filter> Filter by category (e.g. xycmd git, xycmd ef)
xycmd --list | -l List all categories
xycmd --add <cat> <title> <code> Add a custom command
xycmd --help | -h Show help
Examples
xycmd git
xycmd ef
xycmd --list
xycmd --add GIT "Stash changes" "git stash"
xycmd --add Docker "Stop all containers" "docker stop $(docker ps -q)"
Multi-word arguments must be quoted!!!
Built-in Categories
| Category | Contains (exemplary) |
|---|---|
| CLI | General shell one-liners |
| Directories | Remove bin/obj folders |
| GIT | Branch management |
| Nuget / Dotnet tools | Cache, restore, install, update |
| EF Core | Migrations, database update |
| XyDocGen | Documentation generation |
Custom Commands
Custom entries are saved as JSON and persist across tool updates:
| OS | Path |
|---|---|
| Windows | %APPDATA%\xyCmdCheatSheet\custom-commands.json |
| Linux / macOS | ~/.config/xyCmdCheatSheet/custom-commands.json |
Custom entries in an existing category are merged with the built-in ones. New categories appear at the bottom.
License
MIT
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.