implement cli console command