Skip to content

Instantly share code, notes, and snippets.

View jonathanGB's full-sized avatar

Jonathan Guillotte-Blouin jonathanGB

View GitHub Profile
@jonathanGB
jonathanGB / cl-noria-insert.rs
Created December 16, 2019 23:13
Noria insert script with command-line flags
extern crate structopt;
use structopt::StructOpt;
use noria::{ControllerHandle, DataType};
#[derive(StructOpt, Debug)]
#[structopt(name = "noria-script")]
pub struct Config {
deployment: String,
#[structopt(long = "no-insert")]