An interactive shell experience that renders my business card in your terminal.
👇 just hit
npx brignanoAn interactive terminal business card for Anthony Brignano. Run it with npx to view a styled card in your terminal and choose quick actions like emailing or downloading a resume.
Quick start
npx brignanoDemo
What it does
- Renders a boxed, colored business card in the terminal using
boxenandchalk. - Presents a small interactive menu (via
inquirer) with actions:- Send an email (opens your mail client with
mailto:) - View the resume (opens https://brignano.io/resume in your browser)
- Quit
- Send an email (opens your mail client with
CLI
The CLI supports both interactive mode (default) and non-interactive flags. Run npx brignano --help to see the same help output.
-h, --help— Show help and exit.-v, --view— Open the resume in the default browser (https://brignano.io/resume).-d, --download— Deprecated alias; now opens the resume in the browser and prints a deprecation warning.-e, --email— Open the default mail client with a new message to[email protected].--no-prompt— Show the card only and exit (non-interactive).
Examples
Run interactively (default):
npx brignanoOpen resume directly in browser:
npx brignano --view
# or
npx brignano -vOpen mail client to email Anthony:
npx brignano --email
# or
npx brignano -eShow card only (useful in CI or scripts):
npx brignano --no-promptFiles
src/card.ts— primary CLI source (TypeScript).dist/card.js— compiled CLI entry referenced bypackage.jsonand used bynpx.package.json— project metadata,binentry, scripts, andengines(Node >=18).
Usage
- Run directly with
npx brignano(no install required). - Or clone and run locally:
git clone https://github.com/brignano/npx-brignano.git
cd npx-brignano
npm install
npm run build
node dist/card.jsPrerequisites
- Node.js (tested with Node >=18).
npxis included with npm.
Notes
- The
--downloadflag is deprecated and now opens the resume in your default browser instead of writing a local file. - Use
--view(or-v) to open the resume directly at https://brignano.io/resume. - Links printed in the card may be cmd/ctrl+clickable in supported terminals.
Credits
This project is inspired by and credited to anmol098/npx_card.
License
See package.json for license information.
