lib/mako/cli.rb in mako_rss-0.1.0 vs lib/mako/cli.rb in mako_rss-0.2.0
- old
+ new
@@ -1,14 +1,15 @@
# frozen_string_literal: true
require_relative 'commands/build'
require_relative 'commands/new'
+require_relative 'commands/subscribe'
require_relative 'commands/version'
module Mako
class CLI
- COMMANDS = %w[build new version].freeze
+ COMMANDS = %w[build new subscribe version].freeze
# Takes ARGV and parses the first element (command) to see if it is
# in the commands array. If not, display help.
#
# @param [Array] argv
@@ -22,9 +23,10 @@
mako [subcommand] [path...]
Subcommands:
new Create a new Mako scaffold in PATH. If no PATH provided, defaults to current directory.
build Build your Mako site. Default: only build HTML.
+ subscribe Subscribe to the supplied URL or URLs. Accepts a list separated by spaces.
version Display the version.
Options:
--with-sass When supplied to build, also generates CSS from SCSS files.
EOS