devrc 0.6.0

devrc is an easy to use task runner tool on steroids for developers
Documentation
use crate::errors::DevrcResult;

use std::process::Command;

pub trait CommandExt {
    fn export_environment(
        &mut self,
        environment: &indexmap::IndexMap<String, String>,
    ) -> DevrcResult<()>;
}

impl CommandExt for Command {
    fn export_environment(
        &mut self,
        environment: &indexmap::IndexMap<String, String>,
    ) -> DevrcResult<()> {
        for (key, value) in environment.into_iter() {
            self.env(key, value);
        }

        Ok(())
    }
}

pub trait Executor {}