Skip to content

temporalio/tctl-plugin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Deprecation Notice ⚠️

The tctl CLI is now deprecated in favor of Temporal CLI.
This repository is no longer maintained.
Please use the new utility for all future development.

tctl-plugin-template

Nota bene: The tctl plugin feature is still experimental and is not documented or officially supported. There are going to be some further changes & UX improvement

Use this template to quickly create a new CLI or tctl plugin

Quick Start

Run make build to build the project

The template shows the examples of:

  • configuring a value
$ tctl-my-plugin set-hello --value Buzz
  • reading and outputting from a config
$ tctl-my-plugin hello
Hello Buzz

In addition, it provides an easy access to

Running as a tctl plugin

Place the resulting binary anywhere in $PATH and tctl will pick it up as a plugin:

$ tctl my-plugin hello

About

A template to create a new tctl plugin CLI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published