hermes_cli_components/traits/config/config_path.rs
1use cgp::prelude::*;
2use hermes_runtime_components::traits::fs::file_path::{FilePathOf, HasFilePathType};
3use hermes_runtime_components::traits::runtime::HasRuntime;
4
5#[derive_component(ConfigPathGetterComponent, ConfigPathGetter<App>)]
6pub trait HasConfigPath: HasRuntime<Runtime: HasFilePathType> {
7 fn config_path(&self) -> &FilePathOf<Self::Runtime>;
8}