diff --git a/README.md b/README.md new file mode 100644 index 0000000..c6b8c3f --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# StackRoost CLI 🐧 + +A simple and powerful terminal-based tool to manage Linux web servers. Built in Go, it supports popular stacks like **Apache**, **Nginx**, and **Caddy**, with domain and user management features. + +--- + +## Features + +- Manage Apache, Nginx, and Caddy services +- Add, remove, and update virtual hosts/domains +- Manage Linux users for deployments +- Backup and restore configurations +- SSL configuration helpers +- Interactive CLI prompts +- Easy setup with clean terminal UI + +--- diff --git a/go.mod b/go.mod index 5af3214..bae5998 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module stackroost -go 1.22.3 +go 1.22 require github.com/spf13/cobra v1.9.1 diff --git a/internal/utils.go b/internal/utils.go index e69de29..5de376f 100644 --- a/internal/utils.go +++ b/internal/utils.go @@ -0,0 +1,5 @@ +package internal + +func IsNilOrEmpty(s string) bool { + return s == "" || s == "" +} \ No newline at end of file