import cligen proc main(last:int, first=1, increment=1) = var i = first while i <= last: echo(i) i = i + increment dispatch(main)