Generate your first Blockspring R Function
In this step you'll generate a starter Blockspring function written in R.
The CLI tool comes with
blockspring new, a handy function generator. Pass in your language (R) and your function title to generate a R starter function:
$ blockspring new R "Best function ever" Creating directory best-function-ever Creating script file best-function-ever/block.R Creating config file best-function-ever/blockspring.json
You now have your first Blockspring function. The CLI tool created a new directory for your function populated with the two key files. blockspring.json holds your function's R code and block.R holds your function's configurations. We'll dive deeper into these files in later steps.