Sha256: 3ed63bd1364957f06cba001a8344cad93de73cc055a68b7ccc1dd7294ffecf66

Contents?: true

Size: 531 Bytes

Versions: 1

Compression:

Stored size: 531 Bytes

Contents

#!/usr/bin/env ruby

require "gli"
require "byebug"

require_relative "../lib/tlapse"

include GLI::App
include Tlapse

program_desc "Automated time lapse photography via gphoto2"
version Tlapse::VERSION

desc "Determine whether you are ready to start capturing"
command :doctor do |c|
  c.action do |global_options,options,args|
    doctor
  end
end

desc "Capture a single photo, saving it to the current directory"
command :single do |c|
  c.action do |global_options,options,args|
    capture_single
  end
end

exit run(ARGV)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tlapse-0.0.6 bin/tlapse