Added ability to use commands from the console and fixed a typo in the delete subcommand.