]> git.r.bdr.sh - rbdr/blog/blobdiff - bin/blog.js
Add metadata writing functionality
[rbdr/blog] / bin / blog.js
index c88a8aae14739dfdb618f92eda2cde33d710284a..18443aa9b84f3dc363a4f5a3b1956fcd713fdd45 100755 (executable)
@@ -33,11 +33,12 @@ const internals = {
           }
 
           if (argument === 'publish') {
           }
 
           if (argument === 'publish') {
-            await internals.blog.update(value);
+            await internals.blog.publish(value);
             return;
           }
         }
       }
             return;
           }
         }
       }
+
       console.log('Not yet implemented');
     }
     catch (err) {
       console.log('Not yet implemented');
     }
     catch (err) {