mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-07-03 08:21:13 +02:00
Added sample for custom actions
This commit is contained in:
@@ -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.`);
|
||||
}
|
||||
Reference in New Issue
Block a user