voltaic-cli 0.1.0

The Voltaic compiler: .sdx in, .xrs containing ordinary Rust out.
use std::process::ExitCode;

mod build_command;

mod fmt_command;

mod run;

mod watch_command;

fn main() -> ExitCode {
  let args: Vec<String> = std::env::args().skip(1).collect();
  match run::run(&args) {
    Ok(()) => ExitCode::SUCCESS,
    Err(message) => {
      eprintln!("{}", message);
      ExitCode::FAILURE
    }
  }
}