Add ability to handle Internet connection failures
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### What needs to get done
It's related to https://github.com/canonical/snapcraft/issues/5642
Could you add new configuration option, CLI option, etc. which add ability to retry failed command pre-defined number of tries?
I want to exclude scenario:
```
snapcraft
```
See failing when connection suddenly closed when downloading any file related to project (unexpected EOF or such).
Then immediately I should:
```
snapcraft
```
etc.
### Why it needs to get done
It will greatly improve the usability when the user has unstable Internet connection.
Evaluation history
No evaluation history available.