stynx_code_commands/infrastructure/file_reference_expander.rs
1use stynx_code_errors::AppResult;
2use crate::application::expand_file_references;
3use crate::domain::InputPreprocessor;
4
5pub struct FileReferenceExpander;
6
7impl InputPreprocessor for FileReferenceExpander {
8 fn expand(&self, input: &str) -> AppResult<String> {
9 Ok(expand_file_references(input))
10 }
11}