Helper scripts
Helper scripts are pre-written scripts to help implement lifecycle scripts.
Overview
fail-message
fail-messagefail-message "your fail message here..."#!/bin/bash
if [ !$EVERYTHING_WENT_WELL ]; then
fail-message "Your challenge failed because of REASON"
exit 1
fi#!/bin/bash
if [ !$EVERYTHING_WENT_WELL ]; then
echo "FAIL: Your challenge failed because of REASON"
exit 1
fiset-workdir
set-workdirExample
Last updated
Was this helpful?