Skip to content

Add command execution support#23

Merged
sile merged 6 commits intomainfrom
external-command
Aug 30, 2025
Merged

Add command execution support#23
sile merged 6 commits intomainfrom
external-command

Conversation

@sile
Copy link
Copy Markdown
Owner

@sile sile commented Aug 30, 2025

No description provided.

@sile sile requested a review from Copilot August 30, 2025 00:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds command execution support to the application, enabling users to run external commands and shell scripts through configured keybindings. The implementation displays command output in a preview pane with stdout and stderr results.

  • Added ExecuteCommand and ExecuteShell action types for handling external command execution
  • Integrated a preview widget to display command execution status and output
  • Updated dependency version to support the new command functionality

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

File Description
src/app.rs Added preview widget field and command execution logic with output display
src/action.rs Added new action variants for command and shell execution
configs/sile.jsonc Added keybinding configurations for commit and push operations
Cargo.toml Updated mame dependency to version 0.1.3

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

sile and others added 3 commits August 30, 2025 09:54
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sile sile merged commit 6484631 into main Aug 30, 2025
9 checks passed
@sile sile deleted the external-command branch August 30, 2025 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants