subconsciousnetwork / noosphere

Noosphere is a protocol for thought; let's discover it together!
Apache License 2.0
667 stars 40 forks source link

orb mv #489

Open justinabrahms opened 1 year ago

justinabrahms commented 1 year ago

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

cdata commented 1 year ago

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).

justinabrahms commented 1 year ago

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