calculator_cli 0.1.6 copy "calculator_cli: ^0.1.6" to clipboard
calculator_cli: ^0.1.6 copied to clipboard

A a simple dart cli package which can do basic Arithmetic Calculation.

Calculator CLI #

I made this cli just of learning/showcase purpose. Using this CLI we can do arthemeatic calculation. If you are someone who is learning CLI and wants to looking to build a cli you can use this as reference or you may conect to me for support.

Installation #

    dart pub global activate calculator_cli

Get Started #

Type this command after installation, you will be given few options to select are shape and provide their input (required to calculate area).

calculator_cli area

Features #

There are currently four command which can perform four different operation.

  • Area of square, rectange, circle
  • Add two or more numbers
  • Subtract
  • Multiply two or more numbers
  • Division

calculator_cli add #

You can run this command and this will add these two numbers.

calculator_cli add 12 45

You may also provide more than two number for addition

calculator_cli add 12 45 19 89

calculator_cli --help

A Simple Calculator

Usage: calculator_cli <command> [arguments]

Global options:
-h, --help    Print this usage information.

Available commands:
  add   Add two or more than two number
  div   Divide one number from other
  mul   Add two or more than two number
  sub   Subtract one number from other

Run "calculator_cli help <command>" for more information about a command.
0
likes
0
pub points
0%
popularity

Publisher

verified publishernstack.in

A a simple dart cli package which can do basic Arithmetic Calculation.

Homepage

License

unknown (LICENSE)

Dependencies

args, mason_logger, prompts

More

Packages that depend on calculator_cli