https://github.com/ashutoshsahoo/robot-app
Robot Application
https://github.com/ashutoshsahoo/robot-app
console-color maven outputcapture rule spring-boot spring-shell
Last synced: 11 months ago
JSON representation
Robot Application
- Host: GitHub
- URL: https://github.com/ashutoshsahoo/robot-app
- Owner: ashutoshsahoo
- Created: 2018-09-30T16:25:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-30T17:45:19.000Z (over 7 years ago)
- Last Synced: 2025-01-25T17:11:19.005Z (about 1 year ago)
- Topics: console-color, maven, outputcapture, rule, spring-boot, spring-shell
- Language: Java
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Robot Application
- Run the application :
```sh
$ mvn spring-boot:run
```
- Check Robot battery charge :
```sh
robot:> status
```
- Charge robot battery :
```sh
robot:> charge
```
- Ask Robot to walk 3.5 km :
```sh
robot:> walk --distance 3.5
```
- Ask Robot to walk 2 km with 3kg object :
```sh
robot:> walk --distance 2 --weight 3
```
or
```sh
robot:> walk 2 3
```
- Ask Robot to walk with 12kg object :
```sh
robot:> walk --weight 12
```
- Ask Robot to scan :
```sh
robot:> scan
```
- Exit:
```sh
robot:> exit
```
- Help:
```sh
robot:> help
```
- Execute test cases :
```sh
$ mvn test
```
## Reference
- [Spring Shell](https://docs.spring.io/spring-shell/docs/current/reference/htmlsingle/)