State

SCNR::Application::API.run do

    State {
        on :change do |state|
            p state.status
            # => :preparing
        end
    }

end

Example

bin/scnr http://example.com/ --checks=- --script=state.rb