go-ipfs-cmds
go-ipfs-cmds copied to clipboard
feat: add --dereference-symlinks flag for recursive symlink resolution
add new --dereference-symlinks boolean flag that recursively resolves all symlinks to their target content during file collection. this works on symlinks inside directories, not just CLI arguments.
the flag is wired through cli/parse.go to boxo's SerialFileOptions.DereferenceSymlinks.
deprecate --dereference-args which only worked on symlinks passed directly as CLI arguments. the help text now indicates it is deprecated and directs users to use --dereference-symlinks instead.
- ref: https://github.com/ipfs/specs/pull/499
- Depends on https://github.com/ipfs/boxo/pull/1088