diff --git a/README.md b/README.md index d4db6dc..5e4aab5 100644 --- a/README.md +++ b/README.md @@ -13,27 +13,6 @@ Welcome to the **Interview Questions CLI**, a powerful tool designed for users l - `array` or `json` for use in your projects or further study. - **Randomized Selection**: Practice with random questions to simulate real-world scenarios. -## Installation - -Ensure you have [Node.js](https://nodejs.org/) installed on your machine. - -1. Clone the repository: - ```bash - git clone https://github.com/fix2015/interview-questions.git - ``` -2. Navigate to the project directory: - ```bash - cd interview-questions-cli - ``` -3. Install dependencies: - ```bash - npm install - ``` -4. Make the CLI globally accessible (optional): - ```bash - npm link - ``` - ## Usage Run the CLI using the following command: diff --git a/cli.js b/cli.js index 8126a1d..db65f65 100755 --- a/cli.js +++ b/cli.js @@ -32,7 +32,7 @@ const displayQuestions = (result, format) => { result.forEach(({ title, url }) => { console.log(''); logHeader(`Question: ${title}`); - console.info(`Answer: ${url}`); + console.info(`Answer: \x1b]8;;${url}\x1b\\${url}\x1b]8;;\x1b\\`); logDivider(); }); } diff --git a/package.json b/package.json index 5f2c75b..3c20044 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "interview-questions", - "version": "1.0.3", + "version": "1.1.1", "main": "index.js", "scripts": { "test": "npx jest ./test/InterviewQuestion.test.js"