Skip to content
Snippets Groups Projects
Commit 078fa6d8 authored by y.zobus's avatar y.zobus
Browse files

rebase

parents b4f5129f 6103dd04
No related branches found
No related tags found
1 merge request!12Resolve "Create command line tool for analysis"
Pipeline #7541 failed
<<<<<<< HEAD
//! This is the documentation for the **OPOSSUM** software package. **OPOSSUM** stands for
//! **Op**en-source **O**ptics **S**imulation **S**oftware and **U**nified **M**odeller.
//!
......@@ -25,28 +24,5 @@ pub mod spectrum;
pub mod properties;
pub use optic_scenery::OpticScenery;
=======
//! This is the documentation for the **OPOSSUM** software package. **OPOSSUM** stands for
//! **Op**en-source **O**ptics **S**imulation **S**oftware and **U**nified **M**odeller.
//!
mod light;
pub mod lightdata;
/// The basic structure representing an optical element
pub mod optic_node;
/// The basic structure containing the entire optical model
mod optic_scenery;
pub mod optic_ports;
pub mod nodes;
pub mod analyzer;
pub mod error;
pub mod spectrum;
pub use optic_scenery::OpticScenery;
pub mod console;
>>>>>>> dde6804 (simple console prompt)
pub mod console;
use opossum::{console::{Args, PartialArgs}, error::OpossumError};
use clap::Parser;
type Result<T> = std::result::Result<T, OpossumError>;
fn main() -> Result<()>{
let test = Args::try_from(PartialArgs::parse())?;
println!("file path: {}", test.file_path);
println!("analyzer: {}", test.analyzer);
Ok(())
use opossum::{console::{Args, PartialArgs}, error::OpossumError};
use clap::Parser;
type Result<T> = std::result::Result<T, OpossumError>;
fn main() -> Result<()>{
let test = Args::try_from(PartialArgs::parse())?;
println!("file path: {}", test.file_path);
println!("analyzer: {}", test.analyzer);
Ok(())
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment