#!/usr/bin/env bash
set -euo pipefail

cat >&2 <<'MSG'
cncf-samples/bin/cncf is deprecated.

Use the installed CNCF launcher directly from each sample directory, for example:

  cncf command <component.service.operation>
  cncf command --no-project-classpath --component-car-dir car.d <operation>
  cncf command --no-project-classpath --subsystem-sar-dir sar.d <operation>

Install or update the launcher with Coursier when needed:

  cs install --force cncf --channel https://www.simplemodeling.org/repository/textus/coursier-channel.json
  cncf runtime refresh
MSG
exit 2
