refactor CommandArguments.getInt to getInteger