Implement entry/directory renaming/moving

This commit is contained in:
2024-03-07 17:40:57 -05:00
parent 609ef9bd8c
commit 9f1955eb82
6 changed files with 46 additions and 5 deletions
+3 -2
View File
@@ -79,9 +79,10 @@ func main() {
field = 'l'
case "note", "-n":
field = 'n'
case "rename", "-r": // TODO prompt for newLocation, offline.Rename(targetLocation, newLocation), exit after run
case "rename", "-r":
cli.RenameCli(targetLocation)
default:
cli.HelpCopy()
cli.HelpEdit()
}
// TODO offline.EditEntry(targetLocation, field), exit after run
case "add":