#!/bin/bash

# Path to yc executable (by default from the same directory)
YC=${YC:="$(dirname "$0")/yc"}

# fallback to yc from $PATH if not set explicitly and doesn't exist in the same directory
if ! [ -e "$YC" ]; then
    YC="yc"
fi

${YC} --no-user-output container docker-credential $@