mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-18 16:27:52 +00:00
b16d73b5a7
When you source mo, it adds the "mo" function to the environment.
8 lines
238 B
Bash
Executable File
8 lines
238 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# This example does not source `mo` and is intentionally restricted to
|
|
# variables that are not arrays.
|
|
cd "$(dirname "$0")" # Go to the script's directory
|
|
export TEST="This is a test"
|
|
echo "Your message: {{TEST}}" | ../mo
|