java.lang.Object
cl.conversor.vista.cli.ConversorCli
Main class for CLI converter application
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ConversorCli
public ConversorCli()
-
-
Method Details
-
main
Main CLI application- Parameters:
args
- String[3] (currency, currency, amount)
-
conversion
- Parameters:
orig
- Origin currencydest
- Target currencymonto
- Amount of `orig` currency to convert into `dest` currency- Returns:
- Double currency conversion
-
ayuda
public static void ayuda()Help and usage menu
-