Rename bat -> view

This commit is contained in:
Jonathan Turner
2019-05-18 07:15:22 -07:00
parent 447356cb96
commit 2e2831de95
4 changed files with 5 additions and 5 deletions

View File

@@ -4,9 +4,9 @@ use derive_new::new;
use prettyprint::PrettyPrinter;
#[derive(new)]
pub struct Bat;
pub struct View;
impl crate::Command for Bat {
impl crate::Command for View {
fn run(&self, args: CommandArgs<'caller>) -> Result<VecDeque<ReturnValue>, ShellError> {
let target = match args.args.first() {
// TODO: This needs better infra