Added sample for custom actions

This commit is contained in:
Elio Struyf
2021-07-07 12:36:48 +02:00
parent 13cb8fcff5
commit 59c962d8fc
2 changed files with 20 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
const arguments = process.argv;
if (arguments && arguments.length > 0) {
const workspaceArg = arguments[2]; // The workspace path
const fileArg = arguments[3]; // The file path
const frontMatterArg = arguments[4]; // Front matter data
console.log(`The content returned for your notification.`);
}