support Command for console applications