# symlink

Create symbolic links with a builder pattern.

```rhai
symlink(source: &str, dest: &str) -> SymlinkBuilder
```

## Builder Methods

- `.remove_dest(bool)` - Remove destination if exists (default: false)
- `.create()` - Create the symlink


## Examples

```rhai
// Create a symlink
symlink("/usr/bin/python3", "/usr/local/bin/python")
    .create()?;

// Overwrite existing
symlink("/opt/app/bin/app", "/usr/local/bin/app")
    .remove_dest(true)
    .create()?;

// Check and read symlinks
if is_symlink("/usr/local/bin/python") {
    let target = symlink_target("/usr/local/bin/python")?;
    print(`Points to: ${target}`);
}
```

## Notes

- Source must exist and not be a symlink itself
- Auto-detects file vs directory
- Creates parent directories if needed
