Skip to content
This repository was archived by the owner on Jun 12, 2022. It is now read-only.
This repository was archived by the owner on Jun 12, 2022. It is now read-only.

Invoking other commands #2

Description

@Ovyerus

Running other commands from inside a command may come in handy for some circumstances.

Need to make a decision on how this would look syntax wise, some ideas:

  • async Context#invokeOn(cmd: string)
  • async Context#invokeOn<C extends Command>(cmd: C)
  • async Command#invokeWith(ctx: Context)
  • Just invoke instead of invokeWith or invokeOn?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions