A simple command-line Code bnippet Manager in JavaScript using fs-extra and inquirer.
Install the required packages using npm:
npm install fs-extra inquirer --save
const bnippetManager = require('code-bnippet-manager');
// Uncomment and run one of the functions below
// bnippetManager.createbnippet();
// bnippetManager.listbnippets();
Run the createbnippet function to interactively create a new code bnippet. You will be prompted to enter the bnippet name and code.
Run the listbnippets function to display a list of available code bnippets.
The new version will be updated....