BashCommandHook class

Shell command hook — executes a bash/powershell command.

Implemented types

Constructors

BashCommandHook({required String command, String shell = 'bash', bool async = false, String? ifFilter, int? timeout, String? statusMessage, bool once = false})
const

Properties

async bool
final
command String
final
hashCode int
The hash code for this object.
no setterinherited
ifFilter String?
Permission rule filter (e.g., "Bash(git *)").
final
once bool
Run once and remove.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shell String
final
statusMessage String?
Custom spinner message during execution.
final
timeout int?
Timeout in seconds.
final
type String
Hook type discriminator.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited