29 releases

0.10.3 Dec 14, 2023
0.10.2 Mar 7, 2023
0.10.0 Feb 27, 2023
0.9.0 Nov 27, 2022
0.5.0 Dec 21, 2021

#720 in Command line utilities

MIT license

20KB
370 lines

GitHub Contributors Stars Build Status Downloads Crates.io

Render

This is a CLI tool for Render.com actions.

Pull requests and adoption or sponsorship by the render.com team are more than welcome.

Usage

These commands exist:

render put-env <service_name> <env_fpath...>
render put-env <env_group_name> <env_fpath...>
render create-env-group <service_name>
render deploy <service_name>
render list
render suspend <service_name...>

It depends on two environment variables, which can also be passed in as flags:

RENDER_TOKEN
RENDER_OWNER # this is optional. Assumes your user account otherwise

For the token, generate a token on the Render.com web interface, and then add it to your environment.

I recommend against adding secrets to ~/.bash_profile. Instead, store it in ~/.renderrc:

# ~/.renderrc
export RENDER_TOKEN=<your token>

# ~/.bash_profile
source ~/.renderrc

Installation

cargo install render-cli

Dependencies

~14–29MB
~473K SLoC