bonds-cli
Relies on bonds-core for core logic, and provides a command-line interface for managing symlinks.
It offers features such as creating, listing, and removing symlinks, as well as advanced functionalities like bulk operations and integration with file explorers. The CLI is designed to be user-friendly and efficient, making it easy to manage symlinks directly from the terminal.
Usage
- Detailed usage instructions
- Adding a bond
- Listing bonds
- Inspecting bond details
- Removing a bond
- Updating a bond
- Migrating bonds
- Configuration
Detailed usage instructions
# for detailed usage instructions
Adding a bond
# create a bond
# creates a bond (symlink):
# ~/projects/my-app -> ~/bonds/my-app
# give the bond a custom name
Listing bonds
# list bonds
# OUTPUT:
# foo (abc12345) - ~/projects/my-app -> ~/bonds/my-app (2026-04-06 12:00)
Inspecting bond details
# inspect bond details
# OUTPUT:
# ID: abc12345
# Source: ~/projects/my-app
# Target: ~/bonds/my-app
# Created At: 2026-04-06 12:00
# Health: Healthy (symlink intact)
Removing a bond
# remove a bond by name
# To also delete the target, use:
# by ID
Updating a bond
# Update source and/or target
# Update name
Migrating bonds
# Migrate bonds from an old target directory to a new one
# if the bond is located in a different location (than ~/bonds or default target), you can run:
Configuration
# View current default target directory
# Set default target directory