Skip to content

Prompt Variables #1

@thejhh

Description

@thejhh

Support for variables in PromptService.

Example

With a EventEmitter service:

> use MyEventEmitter
> once SomeEvent `doSomething $1`
  • $1 for first argument,
  • $2 for second, and
  • $0 an array of all arguments, etc.

This is same as:

MyEventEmitter.once('SomeEvent', a => MyEventEmitter.doSomething(a))

See also

TODO

  • Unit Testing
  • Documentation (with examples)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions