mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-26 00:15:56 +03:00
[PR #609] [MERGED] Add convert command #1155
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#1155
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/609
Author: @ku1ik
Created: 1/25/2024
Status: ✅ Merged
Merged: 1/25/2024
Merged by: @ku1ik
Base:
develop← Head:convert📝 Commits (2)
a342b43Include timestamp entry in the written header only when it's presentd8ba917Addconvertcommand📊 Changes
6 files changed (+142 additions, -1 deletions)
View changed files
📝
src/asciicast/v2.rs(+8 -1)➕
src/cmd/convert.rs(+98 -0)📝
src/cmd/mod.rs(+1 -0)📝
src/encoder/asciicast.rs(+11 -0)📝
src/encoder/mod.rs(+20 -0)📝
src/main.rs(+4 -0)📄 Description
This provides conversion from asciicast (v1 and v2) into asciicast v2, raw output, or plain text log.
When output filename has
.txtextension then text output is assumed (unless--formatoption given).Examples:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.