Class: Pechkin::CLI
Overview
Command Line Parser Builder
Constant Summary collapse
- PECHKIN_HTPASSWD_FILE =
Default file name for htpasswd file with auth credentials
'pechkin.htpasswd'.freeze
Instance Method Summary collapse
Methods included from CLIHelper
banner, opt, parse, parser_create, parser_create_default_opts, separator
Instance Method Details
#post_init(values) ⇒ Object
151 152 153 154 155 156 |
# File 'lib/pechkin/cli.rb', line 151 def post_init(values) default_htpasswd = File.join(values.config_dir, PECHKIN_HTPASSWD_FILE) values.htpasswd ||= default_htpasswd values end |