starfixdev / starfix

Utility to easily open and operator on source code via url links from your browser
Apache License 2.0
26 stars 21 forks source link

starfix logs too much and gives no info on help etc. #35

Open maxandersen opened 4 years ago

maxandersen commented 4 years ago

output of runner is:

./target/starfix-1.0.0-SNAPSHOT-runner
__  ____  __  _____   ___  __ ____  ______
 --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
 -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/
2020-08-15 22:48:51,912 INFO  [io.quarkus] (main) starfix 1.0.0-SNAPSHOT (powered by Quarkus 1.4.2.Final) started in 0.008s.
2020-08-15 22:48:51,912 INFO  [io.quarkus] (main) Profile prod activated.
2020-08-15 22:48:51,912 INFO  [io.quarkus] (main) Installed features: [cdi]
No input provided!!
2020-08-15 22:48:51,912 INFO  [io.quarkus] (main) starfix stopped in 0.000s

it should just be like a cli - thus need to turn of the logging and instead of No input provided!! give a standard cli help output, something similar to:

Usage: starfix ...
Opens your file and project in any ide/editor.
  -h, --help       Display help/info
Commands: 
  ...
  ...

can use picocli to make this happen automatically.

maxandersen commented 4 years ago

https://picocli.info - have extension for quarkus: https://quarkus.io/guides/picocli