Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1012 Bytes

getting-started.md

File metadata and controls

37 lines (25 loc) · 1012 Bytes
title weight
Getting started
2000

Getting started

Simple YAML declarative shell scripting language based on modules and templates. rash syntax is inspired by Ansible.

Quickstart

To start using rash you just need a container with entrypoint. For install, add rash binary to your Dockerfile:

{{#include ../../examples/envar-api-gateway/Dockerfile}}

Also, you must create your first entrypoint.rh:

{{#include ../../examples/envar-api-gateway/entrypoint.rh}}

Or instead, you could want to use rash for local scripting. In that case you can follow our installation guide.

Syntax

YAML syntax based on modules.

Besides, rash includes MiniJinja templates which you can use anywhere. You can use all its functions and combine them as you want.

rash implements custom builtins, too. For example, {{ rash.path }} or {{ env.MY_ENV_VAR }}.