feat: Added support for remote files (via ssh).

This commit is contained in:
2026-10-06 12:04:20 -04:00
parent d62123e831
commit bf6cc9a60a
10 changed files with 507 additions and 26 deletions
+1 -2
View File
@@ -105,7 +105,7 @@ key somewhere, otherwise your data could be lost forever.`,
name = "restore",
usage = "envr restore <path>",
short = "Restore a .env file from the database",
flags = GLOBAL_FLAGS,
flags = GLOBAL_FLAGS + {.Force},
args = {
{name = "path", completion = "tracked-paths", desc = "Path to .env file to restore"},
},
@@ -485,4 +485,3 @@ delete_command :: proc(cmd: ^Command) {
bufio.writer_destroy(cmd.out_buf)
free(cmd.out_buf)
}