A simple command-line Code Snippet Manager in JavaScript using fs-extra and inquirer.
Install the required packages using npm:
npm install fs-extra inquirer --save
const snippetManager = require('code-snippet-manager');
// Uncomment and run one of the functions below
// snippetManager.createSnippet();
// snippetManager.listSnippets();
Run the createSnippet function to interactively create a new code snippet. You will be prompted to enter the snippet name and code.
Run the listSnippets function to display a list of available code snippets.