#!/bin/sh # Sets some environment variables to demonstrate usage.rs # Make sure to execute this as `. usage.sh` or `source usage.sh` rather than `sh usage.sh` # parseable: String, # #[env(ignore)] # ignored: UnparsableStruct, # #[env(nested)] # nested: SubStruct, # vector: Vec, # #[env(nested)] # nested_vector: Vec, # optional: Option, export TEST_PREFIX_PARSEABLE=Name export TEST_PREFIX_NESTED_VALUE=80 export TEST_PREFIX_VECTOR_0=0 export TEST_PREFIX_VECTOR_1=1 export TEST_PREFIX_VECTOR_2=2 export TEST_PREFIX_VECTOR_3=3 export TEST_PREFIX_NESTED_VECTOR_0_VALUE=80 export TEST_PREFIX_NESTED_VECTOR_1_VALUE=22 export TEST_PREFIX_NESTED_VECTOR_2_VALUE=443 export TEST_PREFIX_OPTIONAL=Something