aboutsummaryrefslogtreecommitdiff
path: root/lib/subcommands
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-04-17 22:43:29 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-04-17 22:43:29 +0200
commitfa150b95d3d9d9b3ea51a03e9243d2b4b2a6c761 (patch)
tree7345146bdf224dea037abf340b117d8476ffc2de /lib/subcommands
parente281eedb6f6e0fda791a45145f9ebc0388ee4e45 (diff)
Add license
Diffstat (limited to 'lib/subcommands')
-rw-r--r--lib/subcommands/add.bash4
-rw-r--r--lib/subcommands/bootstrap.bash4
-rw-r--r--lib/subcommands/del.bash4
-rw-r--r--lib/subcommands/ssh.bash4
-rw-r--r--lib/subcommands/sync.bash4
-rw-r--r--lib/subcommands/sysinfo.bash4
6 files changed, 24 insertions, 0 deletions
diff --git a/lib/subcommands/add.bash b/lib/subcommands/add.bash
index b48ef10..590c8ec 100644
--- a/lib/subcommands/add.bash
+++ b/lib/subcommands/add.bash
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
+# SPDX-FileCopyrightText: 2022 Patrick Spek <p.spek@tyil.nl>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
subcommand()
{
export BASHTARD_PLAYBOOK="$1" ; shift
diff --git a/lib/subcommands/bootstrap.bash b/lib/subcommands/bootstrap.bash
index 8750134..343547d 100644
--- a/lib/subcommands/bootstrap.bash
+++ b/lib/subcommands/bootstrap.bash
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
+# SPDX-FileCopyrightText: 2022 Patrick Spek <p.spek@tyil.nl>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
subcommand()
{
remote="$1" ; shift
diff --git a/lib/subcommands/del.bash b/lib/subcommands/del.bash
index 3896fec..9f01c3c 100644
--- a/lib/subcommands/del.bash
+++ b/lib/subcommands/del.bash
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
+# SPDX-FileCopyrightText: 2022 Patrick Spek <p.spek@tyil.nl>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
subcommand()
{
export BASHTARD_PLAYBOOK="$1" ; shift
diff --git a/lib/subcommands/ssh.bash b/lib/subcommands/ssh.bash
index 19ead9a..0eb4be8 100644
--- a/lib/subcommands/ssh.bash
+++ b/lib/subcommands/ssh.bash
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
+# SPDX-FileCopyrightText: 2022 Patrick Spek <p.spek@tyil.nl>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
subcommand()
{
local ssh="$(config app.ssh)"
diff --git a/lib/subcommands/sync.bash b/lib/subcommands/sync.bash
index 8fce0b6..7722e2d 100644
--- a/lib/subcommands/sync.bash
+++ b/lib/subcommands/sync.bash
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
+# SPDX-FileCopyrightText: 2022 Patrick Spek <p.spek@tyil.nl>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
subcommand()
{
export BASHTARD_PLAYBOOK="$1" ; shift
diff --git a/lib/subcommands/sysinfo.bash b/lib/subcommands/sysinfo.bash
index 7b83e32..8aa237e 100644
--- a/lib/subcommands/sysinfo.bash
+++ b/lib/subcommands/sysinfo.bash
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
+# SPDX-FileCopyrightText: 2022 Patrick Spek <p.spek@tyil.nl>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
subcommand() {
printf "%-15s %s\n" "etcdir" "$BASHTARD_ETCDIR"
printf "%-15s %s\n" "libdir" "$BASHTARD_LIBDIR"