Command line interface using cmdliner.
Handles return key.