#!/usr/bin/env bash
set -e

# @describe Demonstrates the argc hooks `_argc_before` and `_argc_after`
#
# Argc supports two hooks:
#   _argc_before: call before running the command function (after initialized variables)
#   _argc_after: call after running the command function

_argc_before() {
  echo before
}

_argc_after() {
  echo after
}

main() {
  echo main
}

eval "$(argc --argc-eval "$0" "$@")"
