-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathasciinema.sh
69 lines (62 loc) · 2.32 KB
/
asciinema.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env bash
# Automatic generated, DON'T MODIFY IT.
# @flag -h --help show this help message and exit
# @flag --version show program's version number and exit
# {{ asciinema rec
# @cmd Record terminal session
# @flag -h --help show this help message and exit
# @flag --stdin enable stdin recording, disabled by default
# @flag --append append to existing recording
# @flag --raw save only raw stdout output
# @flag --overwrite overwrite the file if it already exists
# @option -c --command command to record, defaults to $SHELL
# @option -e --env list of environment variables to capture, defaults to SHELL,TERM
# @option -t --title title of the asciicast
# @option -i --idle-time-limit <IDLE_TIME_LIMIT> limit recorded idle time to given number of seconds
# @option --cols override terminal columns for recorded process
# @option --rows override terminal rows for recorded process
# @flag -y --yes answer "yes" to all prompts (e.g. upload confirmation)
# @flag -q --quiet be quiet, suppress all notices/warnings (implies -y)
# @arg filename
rec() {
:;
}
# }} asciinema rec
# {{ asciinema play
# @cmd Replay terminal session
# @flag -h --help show this help message and exit
# @option -i --idle-time-limit <IDLE_TIME_LIMIT> limit idle time during playback to given number of seconds
# @option -s --speed set playback speed (can be fractional)
# @flag -l --loop loop loop loop loop
# @flag -m --pause-on-markers automatically pause on markers
# @option --out-fmt[raw|asciicast] select output format
# @option --stream[o|i] select stream to play
# @arg filename
play() {
:;
}
# }} asciinema play
# {{ asciinema cat
# @cmd Print full output of terminal sessions
# @flag -h --help show this help message and exit
# @arg filename*
cat_() {
:;
}
# }} asciinema cat
# {{ asciinema upload
# @cmd Upload locally saved terminal session to asciinema.org
# @flag -h --help show this help message and exit
# @arg filename
upload() {
:;
}
# }} asciinema upload
# {{ asciinema auth
# @cmd Manage recordings on asciinema.org account
# @flag -h --help show this help message and exit
auth() {
:;
}
# }} asciinema auth
command eval "$(argc --argc-eval "$0" "$@")"