Class: ShopifyCLI::Theme::Syncer::Uploader::Forms::SelectUpdateStrategy
- Inherits:
-
BaseStrategyForm
- Object
- Form
- BaseStrategyForm
- ShopifyCLI::Theme::Syncer::Uploader::Forms::SelectUpdateStrategy
- Defined in:
- lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb
Instance Attribute Summary
Attributes inherited from BaseStrategyForm
Attributes inherited from Form
Instance Method Summary collapse
Methods inherited from BaseStrategyForm
Methods inherited from Form
ask, flag_arguments, #initialize, positional_arguments
Constructor Details
This class inherits a constructor from ShopifyCLI::Form
Instance Method Details
#prefix ⇒ Object
22 23 24 |
# File 'lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb', line 22 def prefix "theme.serve.syncer.forms.#{exists_remotely ? "update_strategy" : "update_remote_deleted_strategy"}" end |
#strategies ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb', line 13 def strategies %i[ keep_remote keep_local union_merge exit ] end |