Skip to contents

Creates a module code template in current working directory

Usage

create_module_template(module_name, target_dir = "")

Arguments

module_name

module name in camelCase

target_dir

Optional folder where to save the file. Saves in current folder otherwise.

Value

Create file for module_name in current working directory

Examples

if (interactive()) {
    create_module_template("newModule")
}