You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--factor value number by which delays are multiplied by (default: 0)
115
+
--start value initial frame timestamp (default: 0)
116
+
--end value final frame timestamp (default: 0)
117
+
--out value file to write the modified contents to
118
+
```
30
119
31
-
VERSION:
32
-
dev
33
120
34
-
DESCRIPTION:
35
-
asciinema-edit provides missing features from the "asciinema" tool
36
-
when it comes to editing a cast that has already been recorded.
121
+
### Cut
37
122
38
-
COMMANDS:
39
-
cut Removes a certain range of time frames.
123
+
```sh
124
+
NAME:
125
+
asciinema-edit cut - Removes a certain range of time frames.
40
126
41
-
If no file name is specified as a positional argument a cast is
127
+
If no file name is specified as a positional argument, a cast is
42
128
expected to be served via stdin.
43
129
44
130
Once the transformation has been performed, the resulting cast is
45
131
either written to a file specified in the '--out' flag or to stdout
46
132
(default).
47
133
48
-
EXAMPLES
134
+
EXAMPLES:
49
135
Remove frames from 12.2s to 16.3s from the cast passed in the commands
50
136
stdin.
51
137
@@ -59,8 +145,26 @@ EXAMPLES
59
145
asciinema-edit cut \
60
146
--from=12.2 --to=12.2 \
61
147
1234.cast
62
-
help, h Shows a list of commands or help for one command
63
148
64
-
GLOBAL OPTIONS:
65
-
--help, -h show help
66
-
--version, -v print the version
149
+
USAGE:
150
+
asciinema-edit cut [command options] [filename]
151
+
152
+
OPTIONS:
153
+
--start value initial frame timestamp (required) (default: 0)
154
+
--end value final frame timestamp (required) (default: 0)
155
+
--out value file to write the modified contents to
156
+
```
157
+
158
+
159
+
### Installation
160
+
161
+
Being a Golang application, you can either build it yourself with `go get` or fetch a specific version from the [Releases page](https://github.com/cirocosta/asciinema-edit/releases):
162
+
163
+
```sh
164
+
#Using `go`, fetch the latest from `master`
165
+
go get -u -v github.com/cirocosta/asciinema-edit
0 commit comments