#!/usr/bin/env bash # commands/docker/up.command.sh function cmd::docker::up::on_load() { flag::register \ --sync-hosts \ --skip-proxy \ --debug } function cmd::docker::up::run() { flag::parse "$@" || { cmd::docker::up::help; return 1; } if flag::enabled --sync-hosts; then load_command hosts cmd::hosts::sync fi if ! flag::enabled --skip-proxy; then proxy::ensure fi docker::compose::up } function cmd::docker::up::help() { cat <