From f1a9b29a93d028ba9ba21962eeab64c4f6304e14 Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Thu, 28 Jan 2021 19:59:39 +0100
Subject: [PATCH] STPKG: Enable the 'edit' command...

---
 stpkg | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/stpkg b/stpkg
index ce0f412..f713552 100755
--- a/stpkg
+++ b/stpkg
@@ -613,9 +613,9 @@ __edit() {
     esac
 
     # TODO [OPTIONAL] Update the preview
-
-    jq < $TEMP
-    #cp $TEMP $FILE
+    # TODO Add a dry mode, to only preview the change
+    #jq < $TEMP ### to test/review the change
+    cp $TEMP $FILE
 }
 
 __add() {
-- 
GitLab