matrix-docker-ansible-deploy/roles/custom/matrix-authentication-service/templates/bin/mas-cli.j2
Suguru Hirahara 1cc2ff8a0e
Setting up REUSE: add copyright statements to j2 and md files in roles/custom/
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-08 05:01:12 +09:00

23 lines
383 B
Django/Jinja

{#
SPDX-FileCopyrightText: 2024 MDAD Team and contributors
SPDX-License-Identifier: AGPL-3.0-or-later
#}
#jinja2: lstrip_blocks: "True"
#!/bin/bash
args=$@
if [ $# -eq 0 ]; then
args="help"
fi
if [ -t 0 ]; then
tty_option="-it"
else
tty_option=""
fi
{{ devture_systemd_docker_base_host_command_docker }} exec $tty_option matrix-authentication-service mas-cli $args