You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: basic_cli.rs
    path of file: ./repos/lighthouse/examples
    
    the code of the file until where you have to start completion: // A simple example of a command line tool to turn off and on
// the lights
fn main() {
    use lighthouse::*;
    use std::env;

    // Create bridge from an IP and a Key.
    let mut b = bridge::Bridge::new("<some-ip>".parse().unwrap(), "<some-key>".to_owned()).unwrap();

    // See if the user passed on 
    
fn main() {
    use lighthouse::*;
    use std::env;

    // Create bridge from an IP and a Key.
    let mut b = bridge::Bridge::new("<some-ip>".parse().unwrap(), "<some-key>".to_owned()).unwrap();

    // See if the user passed on or of
    let on_off = match &env::args().collect::<Vec<String>>()[1][..] {
        "on" => true,
        "off" => false,
        _ => panic!("Unknown command. Use: on / off"),
    };
    let s = state!(on: on_off, bri:254);
    b.state_to_multiple(vec![1, 2, 3], vec![s; 3])
        .expect("Could not send all states!");
}