> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent-mintlify-f21cea86.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Surgical editing

> Edit करने से पहले search करें और ambiguous बदलावों को अस्वीकार करें।

Edit करने से पहले search करें और ambiguous बदलावों को अस्वीकार करें:

```bash theme={null}
arka surgical-edit find src/app.py "target function"
arka surgical-edit edit src/app.py "old text" "new text" --yes
arka surgical-edit edit src/app.py "old text" "new text" --all --yes
```

Arka पहले matching lines print करता है, डिफ़ॉल्ट रूप से एक unique match की आवश्यकता होती है, एक `.bak` backup बनाता है, और जब keyword गायब या ambiguous हो तो कोई बदलाव नहीं करता। प्राकृतिक भाषा अनुरोध तब समर्थित होते हैं जब फ़ाइल और old/new text स्पष्ट रूप से quote किए गए हों।


## Related topics

- [Arka के साथ कोड कैसे लिखें](/hi/guides/code-with-arka.md)
- [Arka अन्य agents की तुलना में कैसा है](/hi/concepts/comparison.md)
- [Arka को Cloud और Web Platforms पर Deploy करें](/hi/guides/deploy.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.