moved more cli logic to click validation callbacks