Skip to content

Warn the user that using -i/-u/-d will overwrite everything about their scenarios #2529

@mstoykov

Description

@mstoykov

Feature Description

Users are sometimes confused why using -i, -u or/and -d works the way it does. This includes both why does it suddenly not use their exec function or why they don't use the env they have defined.

While there are some indications that we no longer run the same scenarios, it likely will be nice to be more explicit.

p.s. forgot about -s for stages, as I never see it used 🤦

Suggested Solution (optional)

On usage of any of the shortcut options - print a warning stating that this will completely overwrite the whole options.scenarios possibly somewhere in

func DeriveScenariosFromShortcuts(opts lib.Options, logger logrus.FieldLogger) (lib.Options, error) {

Already existing or connected issues / PRs (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions