aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ak-cli29
1 files changed, 29 insertions, 0 deletions
diff --git a/bin/ak-cli b/bin/ak-cli
index f3de2f4..69b6a1c 100755
--- a/bin/ak-cli
+++ b/bin/ak-cli
@@ -59,6 +59,9 @@ help_all(){
help_follow
new_line
+ help_node_info
+ new_line
+
printf ' modules Various modules'
help_modules
new_line
@@ -92,6 +95,28 @@ help_all(){
help_uncatecorized
}
+help_node_info(){
+ ak-node-info
+}
+
+_node_info(){
+ if [ ! -z "$1" ]
+ then
+ case "$1" in
+ ipfs)
+ ak-node-info ipfs
+ ;;
+ ipns)
+ ak-node-info ipns
+ ;;
+ *)
+ help_node_info
+ ;;
+ esac
+ else
+ help_node_info
+ fi
+}
help_config(){
cat /home/kaotisk/projects/arching-kaos-tools/txts/manuals/config_subcommands
}
@@ -425,6 +450,10 @@ else
_config "$2"
exit_program 0 "$1 command finished";
;;
+ node)
+ _node_info "$2"
+ exit_program 0 "$1 command finished";
+ ;;
log)
_log "$2" "$3" "$4" "$5"
exit_program 0 "$1 command finished";