Skip to content

Always ask confirmation before overwriting a configuration #4857

Open
@remyleone

Description

@remyleone

Description

It could be helpful to show case a diff and ask confirmation before any writing to the configuration.

How I imagine scw could expose this functionality

When editing an alias, or adding a profile, either writing to (cli.yaml or config.yaml) it would be helpful to show case a diff and asking human confirmation.

References

https://github.com/hexops/gotextdiff

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions