Skip to content

genZrizzCode/CLImmander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLImmander

A powerful, modern CLI toolkit built with Node.js, math.js and commander.js. Includes utilities for weather, ping, math, games, system info, and more!

Installation

npm install -g climmander

Or use directly with npx:

npx climmander <command>

To run this right off the bat:

In your terminal, run:

curl -fsSL https://raw.githubusercontent.com/genZrizzCode/CLImmander/main/run.sh | bash -s -- <command>

Examples:

curl -fsSL https://raw.githubusercontent.com/genZrizzCode/CLImmander/main/run.sh | bash -s --
curl -fsSL https://raw.githubusercontent.com/genZrizzCode/CLImmander/main/run.sh | bash -s -- weather

WARNING: If you do this method, pressing ^C will end the whole process, and interactive commands (bash -s -- pong <difficulty>) will not work.

Usage

All commands are run using the order CLI:

order <command> [options]

Commands

Weather

Get the weather for a city (default: Los Angeles):

order weather [city] [--imperial]
  • --imperial or -i for Fahrenheit/mph

Ping

Ping a website and print the response time (default: google.com):

order ping [host]

Hello

Greet the user by name:

order hello [name]

Reverse

Reverse the input string:

order reverse <string...>

Echo

Echo the input string(s):

order echo <string...>

Pong

Play a simple Pong game in your terminal:

order pong
  • Use Up/Down arrows to move
  • First to 11 wins
  • Option to clear terminal after game

Random Integer

Print a random integer between min and max (defaults: 0 100):

order random-int [min] [max]

Date

Show the current date and time, updating every second:

order date

MathJS

Evaluate a mathematical expression (use ^ for powers, sqrt() for roots):

order mathjs <expression...>

Examples:

  • order mathjs "2^8"
  • order mathjs "sqrt(16)"
  • order mathjs "nthRoot(27, 3)"

Calendar

Show the current month calendar with today highlighted:

order cal

CLI Stats

Show CLI project stats and usage count (per user/device):

order cli-stats

My Info

Show information about your device and terminal (no info is kept by us):

order my-info

License

MIT


Made with ❤️ by genZrizzCode

Releases

No releases published

Packages

No packages published