A CLI portfolio that displays personal and professional information when run using npx ahmad-salah in the terminal.
- Prerequisites
- Installation
- Usage
- Customization
- Publishing Your Own Version
- Folder Structure
- Dependencies
- License
Before you begin, ensure you have met the following requirements:
- Node.js (v10 or above)
- npm (v5.2 or later for
npxsupport) - A GitHub account (for hosting your repository)
- An npm account (for publishing your package)
This package is meant to be used with npx, so there's no need to install it globally. However, if you want to customize and create your own version, follow these steps:
- Use this template to create your own GitHub repository.
- Clone your new repository:
git clone https://github.com/your-username/your-repo-name.git cd your-repo-name - Install the dependencies:
npm install
To view the CLI portfolio, simply run:
npm run dev
This will display the portfolio information in your terminal.
To customize the portfolio with your own information:
- Edit the
index.jsfile with your personal details. - Modify the
package.jsonfile:- Change the
namefield to your desired package name (use lowercase and hyphens) - Update the
repositoryURL to your GitHub repository - Adjust the
keywordsas needed
- Change the
- Run
npm run devto see your changes locally.
-
Ensure you're logged in to npm:
npm login -
Publish your package:
npm publish --access=public
Now others can view your CLI portfolio using npx your-package-name.
.
├── node_modules
├── index.js
├── package.json
├── package-lock.json
└── README.md
The main dependencies for this project are set in the package.json file. Make sure to run npm install to install them.
This project uses the MIT License.
Feel free to customize this README further to match your specific CLI portfolio features and requirements!