pulkitxm
v0.1.0
Published
Simple CLI to view Pulkit's developer profile
Readme
Simple PulkitXM CLI Setup Guide
This guide explains how to set up and use the simple CLI tool.
Quick Setup
- Create a directory for your CLI:
mkdir pulkitxm-cli
cd pulkitxm-cliCreate the two required files:
- Save the CLI code as
cli.js - Save the package.json content as
package.json
- Save the CLI code as
Make the CLI script executable (on Linux/Mac):
chmod +x cli.js- Test the CLI locally:
node cli.jsTesting with npx
To test as if it were installed with npx:
- Link the package locally:
npm link- Run the command:
pulkitxm- When you're done testing, unlink:
npm unlink pulkitxmPublishing
When you're ready to publish:
npm login
npm publishAfter publishing, users can run:
npx pulkitxmNotes
- No external dependencies are used in this version
- Only Node.js built-in modules are used:
httpsfor API requestsreadlinefor interactive CLI
- The CLI will display all profile information in plain text
- Simple error handling is included
This minimal approach avoids any potential package compatibility issues and makes the CLI extremely portable.
