Sha256: 14e822b5e77de6c9abceda677a86a794946c2fff692a5c280299cd59fa96dab2
Contents?: true
Size: 440 Bytes
Versions: 2
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true module Pcli module Services module Steps class Valediction < Step include Depends.on('output') spaced def run(prev) if prev.success? output.puts "Goodbye! PCLI finished with code #{Pl.green(prev.code)}" else output.puts "PCLI finished with error code #{Pl.red(prev.code)}" end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pcli-0.1.1 | lib/pcli/services/steps/valediction.rb |
pcli-0.1.0 | lib/pcli/services/steps/valediction.rb |