tapioca icon indicating copy to clipboard operation
tapioca copied to clipboard

Allow Tapioca commands to accept environment variables

Open paracycle opened this issue 1 year ago • 0 comments

This change allows Tapioca commands to accept environment variables via the command line or the configuration file. This is useful for setting up the environment for the Tapioca commands, such as setting the custom environment variables that affect how an application is loaded.

Motivation

https://github.com/Shopify/tapioca/pull/1952#issuecomment-2220850850

Implementation

Add a class_option :env that allows all commands to accept environment variables.

Tests

Added a DSL CLI test

paracycle avatar Jul 12 '24 15:07 paracycle