Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support storing, syncing and executing scripts #2644

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft

Conversation

ellie
Copy link
Member

@ellie ellie commented Mar 24, 2025

ref: #2552

The goal with this PR is to have a totally non-interactive setup. Doesn't really make the most of the rest of the data we have ;)

Follow up with the ability to build scripts via the search tui

Checks

  • I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
  • I have checked that there are no existing pull requests for the same thing

Sorry, something went wrong.

@ellie ellie force-pushed the ellie/scripts branch 3 times, most recently from fbebf3c to 8ddfb76 Compare April 3, 2025 14:18
ellie added 3 commits April 4, 2025 15:34
Copy link
Member

@BinaryMuse BinaryMuse left a comment

Choose a reason for hiding this comment

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

I think this looks excellent. A couple questions, otherwise :shipit:

}

// Add the script path
cmd.arg(temp_path.to_str().unwrap());
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to remove the shebang from the file in this case, since we're executing it directly with the interpreter?

Comment on lines +19 to +20
#[arg(short, long)]
pub name: String,
Copy link
Member

Choose a reason for hiding this comment

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

Thoughts on allowing this to be positional? The other commands that take a script name do so, and it's a required parameter.

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.

None yet

2 participants