aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-config
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-04 18:36:54 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-04 18:36:54 +0300
commitc0dbfc8dc7cf7af278de1d233d87ffbe481ba704 (patch)
tree9037aef8094102626f387cec6d026793478fd53a /bin/ak-config
parent2d04f1e16cd234b6ad82eff3c4cd6b09149ef4ec (diff)
downloadarching-kaos-tools-c0dbfc8dc7cf7af278de1d233d87ffbe481ba704.tar.gz
arching-kaos-tools-c0dbfc8dc7cf7af278de1d233d87ffbe481ba704.tar.bz2
arching-kaos-tools-c0dbfc8dc7cf7af278de1d233d87ffbe481ba704.zip
Refactoring + bug fixes
- Recursive sourcing was introduced and fixed - Almost finished removing old style commands 'ak-zchain-chk' in favor of the new design (eg 'ak zchain --check') - A couple of changes on how we really do concatenation of an IPFS link - Interface function for publishing to 'ak-config' key - Interface function for publishing to IPNS keys
Diffstat (limited to 'bin/ak-config')
-rwxr-xr-xbin/ak-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ak-config b/bin/ak-config
index 4ef851d..2a1f063 100755
--- a/bin/ak-config
+++ b/bin/ak-config
@@ -18,6 +18,7 @@ descriptionString="Arching Kaos Configuration Tool"
source $AK_LIBDIR/_ak_script
source $AK_LIBDIR/_ak_config
+source $AK_LIBDIR/_ak_ipfs
if [ ! -z $1 ] && [ -n "$1" ]
then
@@ -26,7 +27,7 @@ then
--show) _ak_config_show;exit;;
--publish) _ak_config_publish;exit;;
--get-published) _ak_config_published;exit;;
- --get-ipns-key) _ak_config_get_ipns_key;exit;;
+ --get-ipns-key) _ak_ipfs_get_config_ipns_key;exit;;
*) _ak_usage;exit;;
esac
else