Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.78 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.78 KB

Simple Calculator

Command line application with Spring Boot

Build Docker Image Build CodeQL Dependency Review

Requirements

Application uses

How to use?

# Build the jar.
> mvn clean compile package
> cd target

# Execute the jar with arguments:
# java -jar calculator-0.0.1-SNAPSHOT.jar firstNumber operation secondNumber
# Supported operation: +, -, *, /.

> java -jar calculator-0.0.1-SNAPSHOT.jar 1 + 1

> java -jar calculator-0.0.1-SNAPSHOT.jar 1 - 1

> java -jar calculator-0.0.1-SNAPSHOT.jar 1 * 2

> java -jar calculator-0.0.1-SNAPSHOT.jar 1 / 2

How to update?

# Update Maven wrapper
> mvn wrapper:wrapper -Dmaven=3.8.5