template_yaml: Print YAML template to console

Description Usage Arguments Details Value See Also Examples

View source: R/plan-todo.R

Description

Prints YAML templates for either a plan or to-do list to the console as an example for developing your own custom plans and to-do lists. Inspired by similar template_ functions included in the pkgdown package.

Usage

1
template_yaml(template = c("plan", "todo"))

Arguments

template

One of "plan" or "todo" denoting template desired

Details

Note that depending on the console, text editor, and settings you are using, the template may or may not preserve the necessary whitespace shown in the output. If you copy-paste the template for modification, ensure that it still adheres to traditional YAML indentation.

Value

Prints template to console

See Also

Other plans and todos: post_plan, post_todo, read_plan, read_todo, report_plan, report_todo

Examples

1
2
template_yaml('plan')
template_yaml('todo')

projmgr documentation built on Aug. 5, 2019, 5:15 p.m.