Remove hack to run plugin method as subcommand
Convert --history to subcommand, add search option