Skip to content

InputSources

Where each of a command's resolved values came from.

Handed to an action, derive, or middleware handler as sources, keyed by the same names as flags and args.

Signatures

ts
interface InputSources<F, A> {}

Members

Properties

args

Provenance of every declared arg, keyed by arg name.

ts
args: SourcesOf<InputSources.A>;

flags

Provenance of every declared flag, keyed by flag name.

ts
flags: SourcesOf<InputSources.F>;

See Also

Released under the MIT License.