diff --git a/README.md b/README.md index 33913f4..8933ac2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🚀 NGINX - Site Manager -This script simplifies the process of managing NGINX sites by providing a command-line interface for common operations such as enabling/disabling, listing, and editing site configurations. This script was designed for Ubuntu. If you want to modify it to make it work for other flavors as well, feel free. +This script simplifies the process of managing NGINX sites by providing a command-line interface for common operations such as enabling/disabling, listing, editing, creating, and removing site configurations. This script was designed for Ubuntu. If you want to modify it to make it work for other flavors as well, feel free. ## 🛠️ Usage @@ -14,13 +14,17 @@ This script simplifies the process of managing NGINX sites by providing a comman - `-d, --disable`: Disable a site by disabling its configuration file. - `-l, --list`: List all available sites and their status. - `-ed, --edit`: Edit the configuration file of a site. +- `-c, --create`: Create a new configuration file for a site. +- `-r, --remove`: Remove a site's configuration file. ## 📖 Examples ```bash ./nginx-sm.sh --enable example.com # Enable the site example.com ./nginx-sm.sh --list # List all available sites -./nginx-sm.sh --edit example.com # Edit the configuration of example.com +./nginx-sm.sh --edit example.com # Edit the configuration of example.com +./nginx-sm.sh --create example.com # Create a new configuration for example.com +./nginx-sm.sh --remove example.com # Remove the configuration for example.com ``` ## 📚 Dependencies