Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 4 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
| [WebMinimalApi](https://github.com/resend/resend-dotnet/tree/master/examples/WebMinimalApi) | 5001 | Send email from a (minimal) API
| [WebRazor](https://github.com/resend/resend-dotnet/tree/master/examples/WebRazor) | 5002 | Send email from a Razor form

The present repository also contains a command-line application will
implements all of the Resend API: [resend](https://github.com/resend/resend-dotnet/tree/main/tools/Resend.Cli).
The repository also contains a command-line application:
[resend](https://github.com/resend/resend-dotnet/tree/main/tools/Resend.Cli).
It is deprecated and will be removed in a future release. Use the
official [resend-cli](https://github.com/resend/resend-cli) instead.


Async
Expand Down
12 changes: 10 additions & 2 deletions tools/Resend.Cli/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Resend.Cli;

/// <summary />
[Command( "resend", Description = "Command-line tool for Resend API" )]
[Command( "resend", Description = "Command-line tool for Resend API (deprecated: use https://github.com/resend/resend-cli)" )]
[Subcommand( typeof( ApiKeyCommand ) )]
[Subcommand( typeof( BroadcastCommand ) )]
[Subcommand( typeof( ContactCommand ) )]
Expand All @@ -26,7 +26,15 @@ public class Program
public static int Main( string[] args )
{
/*
*
*
*/
Console.Error.WriteLine( "wrn: This tool is deprecated and will be removed in a future release." );
Console.Error.WriteLine( "wrn: Use the official Resend CLI instead: https://github.com/resend/resend-cli" );
Console.Error.WriteLine();


/*
*
*/
var app = new CommandLineApplication<Program>();

Expand Down
Loading