Closed dustmop closed 5 years ago
Note that this command is essentially qri get [component name] > [component name].[extension]
but smarter and more convenient. It is needed so that Desktop can fix https://github.com/qri-io/qri/issues/839.
This was implemented by https://github.com/qri-io/qri/pull/867.
If the user runs
status
and sees a component is modified (or has an error) and wants to restore the version from the last commit, they need a command to do so. Going to try prototyping this feature usingqri restore
, withqri restore [component name]
for a single component, andqri restore --all
for the entire dataset. We can rename later if needed.