lib/tlapse/cli/cli.rb in tlapse-0.7.0 vs lib/tlapse/cli/cli.rb in tlapse-0.8.0

- old
+ new

@@ -1,9 +1,10 @@ require "thor" require "active_support/core_ext/numeric/time.rb" require "tlapse" require "tlapse/cli/alpha" +require "tlapse/cli/config" module Tlapse::CLI class CLI < Thor desc "doctor", "Perform checks to see if you're ready to tlapse" def doctor @@ -28,9 +29,12 @@ aliases: %i(i) def until_sunset interval = options[:interval].minutes puts Tlapse::Capture.timelapse_command_while_sun_is_up(interval: interval) end + + desc "config", "Read and write config options" + subcommand "config", Tlapse::CLI::Config desc "alpha", "Get early access to in-development (and likely unstable) commands" subcommand "alpha", Tlapse::CLI::Alpha end end