[−][src]Function codebase::archetype::execute
pub fn execute<A: AsRef<Path>, B: AsRef<Path>>(
archetype_id: &str,
config: &BTreeMap<String, String>,
directory: A,
config_dir: B
) -> Result<()>
Execute given archetype with given configuration
Arguments
archetype_id
- the archetype IDconfig
- the config to usedirectory
- the directory where to executable should runconfig_dir
- path to the .codebase-config directory