# ASCTOOL
**ASCTOOL** is a command-line utility designed to automate essential deployment tasks for web applications. It streamlines the deployment process by handling database updates, service management, backups, and file system updates.
## 🚀 Features
- 🔌 Connects to a database and executes SQL scripts
- 🛑 Stops and starts IIS (Internet Information Services)
- 💾 Backs up the current website file system
- 📂 Copies new website files into place
- 🧰 Provides a one-command full deployment option
- 🆘 Includes a help switch for usage guidance
## 🛠 Usage
Run the tool with one or more of the following switches:
### 1. `-d` — Database Update
Connects to the database and executes SQL queries from a `.txt` file (e.g., `SQLquery.txt`):
```bash
asctool -dStops all IIS services:
asctool -stopStarts all IIS services:
asctool -startBacks up the current website file system to a specified directory:
asctool -bCopies the new website file system into place:
asctool -cPerforms all deployment steps in sequence:
asctool -iDisplays help and usage information:
asctool -hThis project is licensed under the Apache License 2.0.
Contributions, suggestions, and improvements are welcome! Feel free to fork the repository and submit a pull request.
For questions or support, please open an issue on the GitHub repository.