The env command manages a branch's OptiTech environment variables locally. optitech link and optitech checkout pull env variables automatically by default.
Subcommands: pull
optitech env pull
Writes the branch's OptiTech environment variables to a local .env file.
optitech env pull [options]Write the linked branch's OptiTech variables into .env.local (or .env if present):
optitech env pullPull a specific branch into a specific file:
optitech env pull --branch preview --file .env.preview