A high-performance C# tool to bundle source code files into a single organized package.
The main command to package your code.
-l, --language: Select languages (e.g.,cs,py,all). [Required]-o, --output: Set destination path or filename.-n, --note: Include source file headers (path and name).-s, --sort: Order byname(alphabetical) ortype(extension).-r, --remove-empty-lines: Strip empty lines from source.-a, --author: Add the creator's name to the file header.
An interactive wizard that asks questions and generates a Response File (.rsp) with your preferred configuration. This avoids the need to type long commands repeatedly.
- Recursive Search: Automatically traverses all subdirectories.
- Auto-Ignore: Intelligent filtering that skips
bin,debug, andobjfolders to keep the bundle clean.
- Build: Run
dotnet buildin the project directory. - Global Access: Add the
/publishfolder path to your system Environment Variables (PATH) to run the tool from any location.
To run the tool using a response file:
dotnet @mybundle.rspThis project was developed following the official Microsoft documentation for System.CommandLine:
Built using System.CommandLine (.NET 8).