mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[PR #492] [MERGED] Treat dash char (-) as stdout for output filename #1100
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#1100
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/492
Author: @ku1ik
Created: 4/27/2022
Status: ✅ Merged
Merged: 4/28/2022
Merged by: @ku1ik
Base:
develop← Head:dashes📝 Commits (2)
20e04f7Dummy default for on_error in file_writere481015Treat dash char (-) as stdout for output filename📊 Changes
4 files changed (+40 additions, -17 deletions)
View changed files
📝
asciinema/asciicast/raw.py(+12 -1)📝
asciinema/asciicast/v2.py(+17 -6)📝
asciinema/commands/record.py(+5 -1)📝
asciinema/file_writer.py(+6 -9)📄 Description
Allows easy piping of the resulting asciicast, e.g. for filtering or live streaming:
Or the same, in raw mode:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.