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: cli.rs
    path of file: ./repos/gyroflow/src
    
    the code of the file until where you have to start completion: // SPDX-License-Identifier: GPL-3.0-or-later
// Copyright © 2022 Adrian <adrian.eddy at gmail>

use argh::FromArgs;
use cpp::*;
use gyroflow_core::*;
use std::sync::Arc;
use std::time::Instant;
use qmetaobject::{ QString, QStringList };
    
pub fn will_run_in_console() -> bool {
    if std::env::args().len() > 1 {
        let opts: Opts = argh::from_env();
        if let Some(open) = opts.open {
            if !open.is_empty() {
                return false;
            }
        }
        return true;
    }
    false
}