crax 0.1.8

An interesting CLI for frontend programmer
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::path::Path;

pub trait ConfigAble {
  type Error;

  fn new<T: AsRef<Path>>(path: T) -> T;
  fn empty<T: AsRef<Path>>(path: T) -> Self;
  fn create<T: AsRef<Path>>(path: T) -> anyhow::Result<(), Self::Error>;
  fn to_string(&self) -> anyhow::Result<String>;
  fn exit(&self) -> bool;
}