Skip to content

Add scripts in KNetCLI #40

@mariomastrodicasa

Description

@mariomastrodicasa

Until now the tool needs to explicitly set the class to be used with ClassToRun command-line switch. A dotnet tool package can host more than one command: it is useful to create scripts (PowerShell, batch or sh) to execute the command directly:

KNetCLI -ClassToRun ConsoleConsumer --bootstrap-server SERVER-ADDRESS:9093 --topic topic_name --from-beginning

becomes

ConsoleConsumer --bootstrap-server SERVER-ADDRESS:9093 --topic topic_name --from-beginning

Originally posted by @mariomastrodicasa in #26 (comment)

Metadata

Metadata

Labels

KNetCLIKNetCLI related issueenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions