class
Fluorite::DSL::Command
- Fluorite::DSL::Command
- Reference
- Object
Defined in:
fluorite/dsl/command.crConstructors
Instance Method Summary
- #add_input(input : Input) : self
- #add_output(output : Output) : self
-
#estimate_duration : Time::Span | Nil
Attempts to determine duration of first input for progress percentage
- #filter_graph : FilterGraph
- #global_option(flag : String, value : String | Nil = nil) : self
- #global_options : Array(String)
- #hwaccel(accel : String | Symbol) : self
- #hwaccel_mode : String | Nil
- #hwaccel_mode=(hwaccel_mode : String | Nil)
- #inputs : Array(Input)
- #no_overwrite! : self
- #outputs : Array(Output)
- #overwrite! : self
- #overwrite_mode : Bool
- #overwrite_mode=(overwrite_mode : Bool)
-
#run(&block : Runner::Progress -> Nil) : Process::Status
Runs command synchronously with optional progress block
- #run : Process::Status
-
#run_async : Runner::ProcessRunner
Runs command asynchronously returning the ProcessRunner
- #threads(n : Int32) : self
- #threads_count : Int32 | Nil
- #threads_count=(threads_count : Int32 | Nil)
-
#to_args : Array(String)
Assembles arguments into array for process execution
- #to_cmd_string : String
Constructor Detail
Instance Method Detail
def estimate_duration : Time::Span | Nil
#
Attempts to determine duration of first input for progress percentage
def run(&block : Runner::Progress -> Nil) : Process::Status
#
Runs command synchronously with optional progress block