command: added cli calculator by cal/calculate
fixed a compiler warning