mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-17 14:14:26 +01:00
docs: Drag and drop files (#2740)
This commit is contained in:
@@ -262,3 +262,31 @@ Search allows you to find specific content within your current session. The sear
|
||||
:::
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
## Share Files in Session
|
||||
|
||||
<Tabs>
|
||||
<TabItem value="ui" label="Goose Desktop" default>
|
||||
Share files with Goose in three ways:
|
||||
|
||||
1. **Drag and Drop**: Simply drag files from your computer's file explorer/finder and drop them anywhere in the chat window. The file paths will be automatically added to your message.
|
||||
|
||||
2. **File Browser**: Click the paperclip icon (📎) in the bottom left corner of the chat input to open your system's file browser and select files.
|
||||
|
||||
3. **Manual Path**: Type or paste the file path directly into the chat input.
|
||||
</TabItem>
|
||||
<TabItem value="cli" label="Goose CLI">
|
||||
You can reference files by their paths directly in your messages. Since you're already in a terminal, you can use standard shell commands to help with file paths:
|
||||
|
||||
```bash
|
||||
# Reference a specific file
|
||||
What does this code do? ./src/main.rs
|
||||
|
||||
# Use tab completion
|
||||
Can you explain the function in ./src/lib<tab>
|
||||
|
||||
# Use shell expansion
|
||||
Review these test files: ./tests/*.rs
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
Reference in New Issue
Block a user