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
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ private static string FormatResponse(ParseResult parseResult, global::Neuphonic.

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"create-agent", @"Create agent
var command = new Command(commandName ?? @"create-agent", @"Create agent
Create a Neuphonic conversational agent.");
command.Arguments.Add(NameOption);
command.Options.Add(Prompt);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ private static string FormatResponse(ParseResult parseResult, global::Neuphonic.

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"delete-agent", @"Delete agent
var command = new Command(commandName ?? @"delete-agent", @"Delete agent
Delete a specific agent.");
command.Arguments.Add(AgentId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ private static string FormatResponse(ParseResult parseResult, global::Neuphonic.

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-agent", @"Get agent
var command = new Command(commandName ?? @"get-agent", @"Get agent
Get details for a specific agent.");
command.Arguments.Add(AgentId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ private static string FormatResponse(ParseResult parseResult, global::Neuphonic.

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"list-agents", @"List agents
var command = new Command(commandName ?? @"list-agents", @"List agents
List agents that belong to the caller.");


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ private static string FormatResponse(ParseResult parseResult, global::Neuphonic.

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"create-sse-jwt-token", @"Create SSE JWT token
var command = new Command(commandName ?? @"create-sse-jwt-token", @"Create SSE JWT token
Exchange an API key for a short-lived JWT token for lower-latency SSE requests.");
command.Options.Add(Expiration);

Expand Down
4 changes: 2 additions & 2 deletions src/cli/Neuphonic.CLI/Commands/TtsPingCommandApiCommand.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ private static string FormatResponse(ParseResult parseResult, string value, glob

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"ping", @"Ping");
var command = new Command(commandName ?? @"ping", @"Ping");



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ internal static partial class TtsSpeakWithSseCommandApiCommand

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"speak-with-sse", @"Text to speech over SSE
var command = new Command(commandName ?? @"speak-with-sse", @"Text to speech over SSE
Generate speech from text using Server-Sent Events. Each event contains
base64 encoded audio plus the source text and sampling rate.
");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ private static string FormatResponse(ParseResult parseResult, global::Neuphonic.

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"clone-voice", @"Clone voice
var command = new Command(commandName ?? @"clone-voice", @"Clone voice
Clone a new voice from an uploaded audio sample.");
command.Options.Add(VoiceName);
command.Options.Add(VoiceTags);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ private static string FormatResponse(ParseResult parseResult, global::Neuphonic.

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"delete-voice", @"Delete cloned voice
var command = new Command(commandName ?? @"delete-voice", @"Delete cloned voice
Delete a cloned voice by voice ID.");
command.Arguments.Add(VoiceId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ private static string FormatResponse(ParseResult parseResult, global::Neuphonic.

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"list-voices", @"List voices
var command = new Command(commandName ?? @"list-voices", @"List voices
List voices available in the caller's voice library.");


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ private static string FormatResponse(ParseResult parseResult, global::Neuphonic.

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"update-voice", @"Update cloned voice
var command = new Command(commandName ?? @"update-voice", @"Update cloned voice
Update a cloned voice's name, tags, or reference audio.");
command.Arguments.Add(VoiceId);
command.Options.Add(NewVoiceName);
Expand Down
Loading