Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# <img src="https://github.com/microsoft/fluentui-system-icons/blob/master/assets/Desktop Signal/SVG/ic_fluent_desktop_signal_24_filled.svg?raw=true" width="24" height="24" align="absmiddle"> Aspire Project Commander
[![publish](https://github.com/oising/AspireProjectCommander/actions/workflows/main.yml/badge.svg)](https://github.com/oising/AspireProjectCommander/actions/workflows/main.yml)

# Aspire Project Commander

Version: 1.0.0-beta1
![icon](https://github.com/user-attachments/assets/a087a57f-63fe-43f6-ad72-e774eef86236)

Aspire Project commander is a set of packages that lets you send simple string commands from the dashboard directly to projects.

## NuGet Packages

|Type|Name|Status|
|-|-|-|
|Integration|`Nivot.Aspire.ProjectCommander`|[![NuGet pre version](https://badgen.net/nuget/v/Nivot.Aspire.ProjectCommander/pre)](https://www.nuget.org/packages/Nivot.Aspire.ProjectCommander)|
|Hosting|`Nivot.Aspire.Hosting.ProjectCommander`|[![NuGet pre version](https://badgen.net/nuget/v/Nivot.Aspire.Hosting.ProjectCommander/pre)](https://www.nuget.org/packages/Nivot.Aspire.Hosting.ProjectCommander)|

## Custom Resource Commands
[Aspire](https://learn.microsoft.com/en-us/dotnet/aspire/) allows adding [custom commands](https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/custom-resource-commands) to any project in the dashboard but these commands are scoped to and handled in the AppHost itself. These are useful to send commands to APIs on running containers, such as performing a `FLUSHALL` on a Redis container to reset state. Ultimately, the `WithCommand` resource extension method requires you to interface with each target resource (e.g. `Executable`, `Container`, `Project`) independently, using code you write yourself.

Expand Down
Loading