berkaygediz / hm_console

💻 Simple console calculator in TypeScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HM Console - TypeScript Command Line Calculator

HM Console is a simple command-line application that allows users to perform calculator operations and get help with various commands. Users can perform addition, subtraction, multiplication, division, and modulus operations.

Prerequisites

Make sure you have Node.js and npm (Node Package Manager) installed on your computer.

Usage

cd hm-console
npx ts-node main.ts

Commands

The following commands are available in HM Console:

  • -calcu(int): Access the calculator functionality.
  • -help(string): Get assistance with available commands.

Subcommands

  • -hm plus: Perform addition.
  • -hm minus: Perform subtraction.
  • -hm multiplication: Perform multiplication.
  • -hm division: Perform division.
  • -hm modulus: Perform modulus operation.

Examples

  • To access the calculator, enter -calcu(int) and follow the prompts.
  • To get help, enter -help(string).

License

This project is licensed under the Apache License 2.0 - see LICENSE for details.

About

💻 Simple console calculator in TypeScript.

License:Apache License 2.0


Languages

Language:TypeScript 100.0%