From 820c9410a17f51d2fc325049eab72852fb89da9f Mon Sep 17 00:00:00 2001 From: d3m0k1d Date: Mon, 9 Feb 2026 22:27:28 +0300 Subject: [PATCH] feat: update docs for new commands --- docs/cli.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/cli.md b/docs/cli.md index 2ba6e46..3313a7e 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -11,6 +11,16 @@ banforge init **Description** This command creates the necessary directories and base configuration files required for the daemon to operate. + +### version - Display BanForge version + +```shell +banforge version +``` + +**Description** +This command displays the current version of the BanForge software. + ### daemon - Starts the BanForge daemon process ```shell @@ -32,6 +42,17 @@ banforge unban These commands provide an abstraction over your firewall. If you want to simplify the interface to your firewall, you can use these commands. Flag -t or -ttl add bantime if not used default ban 1 year + +### ports - Open and Close ports on firewall + +```shell +banforge open -port -protocol +banforge close -port -protocol +``` + +**Description** +These commands provide an abstraction over your firewall. If you want to simplify the interface to your firewall, you can use these commands. + ### list - Lists the IP addresses that are currently blocked ```shell banforge list