Class TokenInfo
- Namespace
- Ploch.CommandLine.Spectre.Commands
- Assembly
- Ploch.CommandLine.Spectre.dll
Describes a replaceable token that can be substituted into command argument values.
public record TokenInfo : IEquatable<TokenInfo>
- Inheritance
-
TokenInfo
- Implements
- Inherited Members
Constructors
- TokenInfo(string, Func<string>, Func<string>)
Describes a replaceable token that can be substituted into command argument values.
Properties
- PathSafeValueProvider
Supplies the token's value sanitised for use within a file system path.
- TokenName
The name of the token, without delimiters.
- ValueProvider
Supplies the token's value for general substitution.