From 6597d987f91bb7ad2a1edb597373de70210ce645 Mon Sep 17 00:00:00 2001 From: Spencer Brower Date: Tue, 28 Oct 2025 16:12:44 -0400 Subject: [PATCH] docs: Updated todos. --- mod.nu | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/mod.nu b/mod.nu index c01bcc2..17b2104 100755 --- a/mod.nu +++ b/mod.nu @@ -165,15 +165,24 @@ export def "envr init" [ $available_formats | input list 'Please select the desired format for your config file' } + # TODO: Let user select identity. let identity = '~/.ssh/id_ed25519'; # The path to the config file. let source = $'~/.envr/config.($format)' + # TODO: Let user select file types to scan for. + { source: $source priv_key: $identity pub_key: $'($identity).pub' + # TODO: scan settings + # scan: { + # matcher: '\.env' + # exclude: '*.envrc' + # include: '~' + # } } | tee { save $source; open db @@ -197,7 +206,15 @@ def files [] { # Update your env backups export def "envr sync" [] { - 'TODO:' + let $files = (files); + + $files | each { |it| + # TODO: Check for file existence + # TODO: If file exists and sha changed: `envr backup $it.path` + # TODO: If file doesn't exist: `envr restore $it.path` + } + + 'TODO: Need to implement' } # Search for .env files