A confirm interface in command line