#!/usr/bin/env bash

# omarchy:summary=Install the MongoDB Shell
# omarchy:requires-sudo=true

# Based: mongosh through asdf, from the plugin Based maintains.

set -eo pipefail

asdf_data=${ASDF_DATA_DIR:-$HOME/.asdf}
omarchy-pkg-add asdf
export PATH="$asdf_data/shims:$PATH"

echo -e "Installing the MongoDB Shell...\n"
omarchy-dev-env-tool mongosh
