mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-26 00:15:56 +03:00
[PR #634] [CLOSED] feat: Make asciinema work with shebangs #1165
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#1165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/asciinema/asciinema/pull/634
Author: @iulian-birlica
Created: 5/23/2024
Status: ❌ Closed
Base:
develop← Head:feat/shebang📝 Commits (1)
b912ed9feat: Make asciinema work with shebangs📊 Changes
2 files changed (+6 additions, -2 deletions)
View changed files
📝
src/asciicast.rs(+5 -1)📝
src/asciicast/v2.rs(+1 -1)📄 Description
I would like to explore the idea of having asciinema working with shebangs, thus having asciicasts work by uttering:
I wanted to have some example code, in order to start the discussion.
The file would have to be made executable after it is created. I think this should be an argument to
asciinema rec, something like-e -- make executable cast.I think supporting arguments like
-s speedand the rest is technically doable, but may require some command-line magic and maybe some changes toasciinema play, or even an entire newplaymode.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.