
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
A command-line tool to merge files into a temporary file and open in VS Code. Designed to support AI-driven development.
mergecraft
is a command-line tool engineered to assist development teams by merging files into a single temporary file and then opening it in Visual Studio Code. This tool is particularly useful in AI-driven development environments, where understanding the broader context of code changes is crucial.
In AI-driven development, tools like mergecraft
play a pivotal role by reducing the cognitive load on developers. It enables them to focus more on refining the technology rather than getting bogged down with mundane tasks. By merging related files into a single view, mergecraft
helps in providing a consolidated context, enhancing the capabilities of AI code assistants like StackSpot AI.
To set up the mergecraft
tool, you can now install it directly from PyPI:
pip install mergecraft
To upgrade to the latest version of mergecraft
, you can use the following command:
pip install --upgrade mergecraft
Alternatively, if you need to install from the source for the latest features or development purposes:
# Clone the repository
git clone https://github.com/your-username/mergecraft.git
cd mergecraft
# Create and activate a virtual environment
python -m venv env
source env/Scripts/activate # Windows
source env/bin/activate # Unix/Mac
# Install dependencies
pip install -r requirements.txt
# Install mergecraft
pip install .
# Deactivate the virtual environment
deactivate
Once installed, you can use mergecraft
from any terminal:
mergecraft [options]
-e
, --extensions
: Specify which file extensions to include in the merge. Defaults to settings in mergecraft.config.yml
.--path
: Set the root path for searching files. Defaults to the current directory.--filter
: Apply a regex filter to select files based on content or name.Configure mergecraft
by editing the mergecraft.config.yml
file, which allows you to specify extensions, and files or directories to skip:
extensions:
- ".py"
- ".txt"
skip_files:
- ".gitignore"
- "LICENSE"
- "README.md"
- "__init__.py"
- "_*"
skip_directories:
- "bin"
- "obj"
- ".git"
mergecraft
supports AI-driven development by automating routine tasks like file merging, aiding in documentation, and streamlining code reviews. It helps bridge the gap between developers' needs for consistency and the requirements of fast-paced technology environments, making it an indispensable tool for modern development teams.
mergecraft
is released under the MIT License. See the LICENSE file for more details.
FAQs
A command-line tool to merge files into a temporary file and open in VS Code. Designed to support AI-driven development.
We found that mergecraft demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.