Skip to content

Elky-S/Code-Aggregator-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ› οΈ Code Aggregator CLI

A high-performance C# tool to bundle source code files into a single organized package.


πŸš€ Commands

πŸ“¦ bundle

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 by name (alphabetical) or type (extension).
  • -r, --remove-empty-lines: Strip empty lines from source.
  • -a, --author: Add the creator's name to the file header.

✍️ create-rsp

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.

πŸ’‘ Smart Filtering

  • Recursive Search: Automatically traverses all subdirectories.
  • Auto-Ignore: Intelligent filtering that skips bin, debug, and obj folders to keep the bundle clean.

πŸ’» Installation & Usage

1. Installation

  • Build: Run dotnet build in the project directory.
  • Global Access: Add the /publish folder path to your system Environment Variables (PATH) to run the tool from any location.

2. Usage Example

To run the tool using a response file:

dotnet @mybundle.rsp

πŸ“š References

This project was developed following the official Microsoft documentation for System.CommandLine:


Built using System.CommandLine (.NET 8).

About

A high-performance C# CLI tool for automated code file aggregation, featuring advanced filtering and output management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages