Skip to content

Commit

Permalink
Prettier version listing
Browse files Browse the repository at this point in the history
  • Loading branch information
elcuervo committed Nov 6, 2013
1 parent 0628065 commit 6e4e7d3
Showing 1 changed file with 36 additions and 9 deletions.
45 changes: 36 additions & 9 deletions lib/airplay/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ def help
EOS
end

# Public: Shows the current CLI version
#
# Returns nothing
#
def version
Airplay.configuration.load
puts Airplay::CLI::VERSION
end

# Public: Lists all the devices to STDOUT
#
# Returns nothing.
Expand Down Expand Up @@ -115,6 +106,42 @@ def view(file_or_dir, options)
end
end

# Public: Shows the current CLI version
#
# Returns nothing
#
def version
Airplay.configuration.load
v = Airplay::CLI::VERSION
puts <<-EOS
i@@@@@@@@@@@@@@@@@@@@@@@@@
i80000000000000000000000000000
i80000000000000000000000000000000G
i8000000000000000000000000000000000000
i80000000000000000000000000000000000000000
@00000 @0000000000000000000000000000000000000@ 000000@
@0000008 @000000000000000000000000000000000@ 80000000@
@001 @00000000000000000000000000000@ 100@
@001 @0000000000000000000000000@ 100@
@001 80000000000000000000008 t00@
@001 8000000000000000008 t00@
@001 800000000000008 t00@
@001 G000000000G t00@
@001 G00000G t00@
@001 L0L t00@
@001 t00@
@001 air t00@
@001 #{v} t00@
@001 t00@
@001 t00@
@001 100@
@00000000000000000000000000000000000000000000000000000G000@
@000000000000000000000000000000000000000000000000000000000@
EOS
end

end
end
end

0 comments on commit 6e4e7d3

Please sign in to comment.