noosphere icon indicating copy to clipboard operation
noosphere copied to clipboard

orb mv

Open justinabrahms opened this issue 2 years ago • 2 comments

It would be nice to have an orb shortcut for renaming a file, a la git mv

justinabrahms avatar Jul 11 '23 21:07 justinabrahms

Interesting idea. Unlike git, we don't have a "staged" phase that changes advance to before being committed (although I've wondered if we should try to implement one). Instead, orb sphere save simply assumes that all observed changes in the workspace are intended to be persisted to the sphere.

With that context, would you expect orb mv or equivalent to move and save? Noting that this would possibly result in saving more than just the file that was moved.

If so, I'll say the feature request stands.

If not, then using the shell's mv but invoking orb sphere save manually at a future time may be a better option (in terms of doing what you expect, that is).

cdata avatar Aug 04 '23 02:08 cdata

I would expect it to save only that file, not the whole sphere.

justinabrahms avatar Aug 20 '23 14:08 justinabrahms