#!/usr/bin/env bash # commands/runtime/up.command.sh function cmd::runtime::up::on_load() { flag::register \ --sync-hosts \ --skip-proxy \ --recreate \ --build \ --foreground \ --debug } function cmd::runtime::up::run() { flag::parse "$@" || { cmd::runtime::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 runtime::up } function cmd::runtime::up::help() { cat <