Module: EasyCreds::Actions::Local::Status
- Defined in:
- lib/easy_creds/actions/local/status.rb
Class Method Summary collapse
Class Method Details
.call(ctx) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/easy_creds/actions/local/status.rb', line 7 def self.call(ctx) env = ctx.env Theme.section("Local overlay — #{env}_local") enc_exists = ctx.io.enc_exists?(env, local: true) key_exists = ctx.io.key_exists?(env, local: true) gi_ok = ctx.io.gitignore_has_local_rule? puts '' print_status_rows(env, enc_exists, key_exists, gi_ok) print_key_count(ctx) if enc_exists && key_exists end |