Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CLI Code Bundler - Command Line Code Packaging Tool

Overview

This project provides a CLI (Command Line Interface) tool developed in .NET that bundles multiple code files into a single consolidated file automatically, eliminating the need for manual copy-pasting.


Main Features

  • bundle command — bundles multiple code files into a single output file

    • Support for selecting programming languages (or all for all code files)
    • Specify output bundle file name and path
    • Option to add source file comments inside the bundle
    • Sort files by name or type
    • Remove empty lines before bundling
    • Include author name comment in the output file
  • create-rsp command — creates a response file to simplify running long commands

    • Prompts the user for all option values
    • Generates a .rsp file containing the full command line for easier repeated execution

Technologies and Tools

  • .NET Console Application
  • System.CommandLine library for parsing commands and arguments
  • Focus on usability, input validation, and clear error messages

Usage

Run the bundle command

cli-tool bundle --language all --output "C:\path\to\output\bundle.cs" --note --sort name --remove-empty-lines --author "Author Name"

About

Command-line tool for bundling code files into a single package, built with .NET and WebAPI.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages