command line menu for notebook