[][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 ID
  • config - the config to use
  • directory - the directory where to executable should run
  • config_dir - path to the .codebase-config directory