/editable-Input-CLI

A Node.js module to create editable input prompts in the terminal using readline and process modules. This allows users to edit their input in a readline dynamically before submission.

Primary LanguageTypeScript

editable-Input-CLI

A Node.js module to create editable input prompts in the terminal using readline and process modules. This allows users to edit their input in a readline dynamically before submission.

Description

This module allows users to edit their input dynamically before submission, making terminal interactions more interactive and user-friendly.

Installation

Ensure that you have Node.js and TypeScript installed on your machine.

Install Node.js and TypeScript

You can download Node.js from nodejs.org and install TypeScript globally using npm: npm install -g typescript

Clone the Editable Input CLI repository to your local machine:

git clone https://github.com/your-username/Editable-Input-CLI.git cd Editable-Input-CLI

##Install Dependencies Initialize the project and install necessary dependencies: npm install

##Usage You can use the Editable Input CLI module in your project by importing it. Here’s how to create a demo script to test the module.