step_write_text_file: Step: Write a text file

View source: R/steps-write-text-file.R

step_write_text_fileR Documentation

Step: Write a text file

Description

Creates a text file with arbitrary contents

Usage

step_write_text_file(..., path)

Arguments

...

⁠[character]⁠
Contents of the text file.

path

⁠[string]⁠
Path to the new text file.

See Also

Other steps: step_add_to_drat(), step_add_to_known_hosts(), step_build_pkgdown(), step_do_push_deploy(), step_hello_world(), step_install_pkg, step_install_ssh_keys(), step_push_deploy(), step_run_code(), step_session_info(), step_setup_push_deploy(), step_setup_ssh(), step_test_ssh()

Examples

dsl_init()

get_stage("script") %>%
  add_step(step_write_text_file("Hi!", path = "hello.txt"))

dsl_get()

ropenscilabs/tic documentation built on Feb. 5, 2024, 5:06 p.m.