Skip to content

[Enhancement] Introduce the -f/--force flag as a pattern for confirmation dialogues in the whole CLI #760

@Poitrin

Description

@Poitrin

In CLI 2.x, the two existing confirmation dialogues (ConfirmStore.ask) for theme publish and theme delete both support the --force flag to automatically answer yes (which can potentially be helpful for e.g. CI/CD).
Shopify/shopify-cli#2680 adds another confirmation dialogue to ask the user whether directories not looking like theme directories shall be served/pushed/… nevertheless.
As a discussion arose whether --force is a suitable name (see discussion), it shall be decided in this issue, and the --force flag stays hidden in the meantime.

Pinging @MeredithCastile to get her UX input here :)

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions