Play around with line-wise parsing
This commit is contained in:
parent
b89ed3e2df
commit
9c9e5764f2
4 changed files with 138 additions and 11 deletions
|
|
@ -5,7 +5,9 @@ use crate::commands::Command;
|
|||
|
||||
use self::line::parse_lines;
|
||||
|
||||
mod error;
|
||||
mod line;
|
||||
mod parser;
|
||||
|
||||
pub fn parse(file: &Path) -> anyhow::Result<Vec<Command>> {
|
||||
let content = fs::read_to_string(file)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue