very basic implementation of `cap console`