Skip to content
Closed
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
2 changes: 1 addition & 1 deletion cmd/execute/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func NewExecuteCmd(f *cmdutil.Factory) *cobra.Command {
cmd := &cobra.Command{
Use: "execute",
Short: "Execute direct blockchain actions",
Aliases: []string{"ex"},
Aliases: []string{"ex", "exec"},
Long: `Execute blockchain operations directly without building a full workflow.
Supports token transfers and smart contract calls. Returns execution IDs
immediately; use --wait to block until completion.
Expand Down
2 changes: 1 addition & 1 deletion cmd/protocol/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func NewProtocolCmd(f *cmdutil.Factory) *cobra.Command {
cmd := &cobra.Command{
Use: "protocol",
Short: "Browse blockchain protocols",
Aliases: []string{"pr"},
Aliases: []string{"pr", "proto"},
Example: ` # List all protocols
kh pr ls

Expand Down
2 changes: 1 addition & 1 deletion cmd/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func TestRootCmdHelpDoesNotIncludeAPIKey(t *testing.T) {
}

func TestAllNounAliasesResolve(t *testing.T) {
aliases := []string{"wf", "r", "ex", "p", "t", "o", "a", "pr", "w", "tp", "b", "doc", "v"}
aliases := []string{"wf", "r", "ex", "exec", "p", "t", "o", "a", "pr", "proto", "w", "tp", "tpl", "b", "doc", "v"}

for _, alias := range aliases {
t.Run(alias, func(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/template/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func NewTemplateCmd(f *cmdutil.Factory) *cobra.Command {
cmd := &cobra.Command{
Use: "template",
Short: "Manage workflow templates",
Aliases: []string{"tp"},
Aliases: []string{"tp", "tpl"},
Example: ` # List available templates
kh tp ls

Expand Down
2 changes: 1 addition & 1 deletion cmd/workflow/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func NewRunCmd(f *cmdutil.Factory) *cobra.Command {
cmd := &cobra.Command{
Use: "run <workflow-id>",
Short: "Run a workflow",
Aliases: []string{"r"},
Aliases: []string{"r", "exec"},
Args: cobra.ExactArgs(1),
Long: `Run triggers a workflow execution. By default the command returns the
execution ID immediately. Use --wait to block until the run completes
Expand Down
Loading