Class: ShopifyCLI::Theme::Syncer::Uploader::Forms::SelectDeleteStrategy

Inherits:
BaseStrategyForm show all
Defined in:
lib/shopify_cli/theme/syncer/uploader/forms/select_delete_strategy.rb

Instance Attribute Summary

Attributes inherited from BaseStrategyForm

#strategy

Attributes inherited from Form

#ctx, #xargs

Instance Method Summary collapse

Methods inherited from BaseStrategyForm

#ask

Methods inherited from Form

ask, flag_arguments, #initialize, positional_arguments

Constructor Details

This class inherits a constructor from ShopifyCLI::Form

Instance Method Details

#prefixObject



21
22
23
# File 'lib/shopify_cli/theme/syncer/uploader/forms/select_delete_strategy.rb', line 21

def prefix
  "theme.serve.syncer.forms.delete_strategy"
end

#strategiesObject



13
14
15
16
17
18
19
# File 'lib/shopify_cli/theme/syncer/uploader/forms/select_delete_strategy.rb', line 13

def strategies
  %i[
    delete
    restore
    exit
  ]
end