Module: EasyCreds::Actions::Local::Init
- Defined in:
- lib/easy_creds/actions/local/init.rb
Class Method Summary collapse
Class Method Details
.call(ctx) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/easy_creds/actions/local/init.rb', line 7 def self.call(ctx) Theme.section("Local overlay — init #{ctx.env}_local") if ctx.io.enc_exists?(ctx.env, local: true) Theme.notice("#{ctx.env}_local.yml.enc already exists. Use `edit` or `editor-edit` to modify it.") return end (ctx) end |