mirror of
https://codeberg.org/icewind/nextcloud-config-parser.git
synced 2026-06-03 08:34:13 +02:00
fix parsing with new default comment
This commit is contained in:
parent
20d09d186d
commit
1da941262e
4 changed files with 65 additions and 2 deletions
|
|
@ -1,8 +1,10 @@
|
|||
use std::env::args;
|
||||
|
||||
use miette::Result;
|
||||
use nextcloud_config_parser::parse;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
let config = parse("tests/configs/basic.php")?;
|
||||
let config = parse(args().nth(1).expect("no config file provided"))?;
|
||||
dbg!(config);
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue