mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/asciinema: Updated for version 1.1.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
e0ed0239a0
commit
49dce26814
3 changed files with 33 additions and 20 deletions
|
@ -3,7 +3,7 @@
|
|||
asciinema \- Terminal recorder for asciinema.org service
|
||||
.SH "SYNOPSIS"
|
||||
.I asciinema
|
||||
[\-h] [\-v] command [<args>]
|
||||
[\-h] [\-\-version] command [<args>]
|
||||
.SH "DESCRIPTION"
|
||||
Command line client (terminal recorder) for asciinema.org service.
|
||||
.PP
|
||||
|
@ -11,16 +11,12 @@ If you run
|
|||
.I asciinema
|
||||
with no arguments, help will be displayed showing all available commands.
|
||||
.PP
|
||||
In addition to this, you can run any asciinema command with the
|
||||
.B -h
|
||||
switch to display help about that specific command. For example, try running \fBasciinema rec -h\fP. This will display a list of all of the options \fBrec\fP command accepts, with their defaults.
|
||||
.PP
|
||||
.SH "OPTIONS"
|
||||
.TP
|
||||
\-h, \-\-help
|
||||
Display help message
|
||||
.TP
|
||||
\-v, \-\-version
|
||||
\-\-version
|
||||
Display version information
|
||||
.SH "COMMANDS"
|
||||
.B rec
|
||||
|
@ -36,23 +32,40 @@ Recording finishes when you exit the shell (hit \fBCtrl+D\fP or type \fIexit\fP)
|
|||
\fBASCIINEMA_REC=1\fP is added to recorded process environment variables. This can be used by your shell's config file (\fI.bashrc\fP, \fI.zshrc\fP) to alter the prompt or play a sound when shell is being recorded.
|
||||
.RS 4
|
||||
.TP
|
||||
\-c
|
||||
\-c, \-\-command
|
||||
command to record (if none given a new shell instance is recorded)
|
||||
.TP
|
||||
\-h, \-\-help
|
||||
Display help message
|
||||
.TP
|
||||
\-\-max\-wait
|
||||
\-w, \-\-max\-wait
|
||||
reduce recorded terminal inactivity to maximum of seconds (0 turns off)
|
||||
.TP
|
||||
\-t
|
||||
set asciicast title (can be also set later, on the site)
|
||||
specify title of the asciicast
|
||||
.TP
|
||||
\-y
|
||||
\-y, \-\-yes
|
||||
upload immediately after shell exits, without asking for confirmation
|
||||
.RE
|
||||
.RE
|
||||
.PP
|
||||
.B play <filename>
|
||||
.RS 4
|
||||
Replay recorded asciicast in a terminal.
|
||||
.PP
|
||||
This command replays given asciicast (as recorded by \fIrec\fP command) directly in your terminal.
|
||||
.PP
|
||||
NOTE: it is recommended to run it in a terminal of dimensions not smaller than the one used for recording as there's no "transcoding" of control sequences for new terminal size.
|
||||
.RS 4
|
||||
.TP
|
||||
\-w, \-\-max\-wait
|
||||
reduce replayed terminal inactivity to maximum of seconds (0 turns off)
|
||||
.RE
|
||||
.PP
|
||||
.B upload <filename>
|
||||
.RS 4
|
||||
Upload recorded asciicast to asciinema.org site.
|
||||
.PP
|
||||
This command uploads given asciicast (as recorded by \fIrec\fP command) to asciinema.org for further playback in a web browser.
|
||||
.RE
|
||||
.PP
|
||||
.B auth
|
||||
.RS 4
|
||||
Assign local API token to asciinema.org account.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for asciinema
|
||||
|
||||
# Copyright 2014 Dimitris Zlatanidis Orestiada, Greece
|
||||
# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
|
||||
PRGNAM=asciinema
|
||||
VERSION=${VERSION:-1.0.0}
|
||||
VERSION=${VERSION:-1.1.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="asciinema"
|
||||
VERSION="1.0.0"
|
||||
VERSION="1.1.0"
|
||||
HOMEPAGE="http://asciinema.org"
|
||||
DOWNLOAD="https://github.com/asciinema/asciinema/releases/download/v1.0.0/asciinema-1.0.0-linux-386.tar.gz"
|
||||
MD5SUM="2374827169fc7a4fe29c013388627792"
|
||||
DOWNLOAD_x86_64="https://github.com/asciinema/asciinema/releases/download/v1.0.0/asciinema-1.0.0-linux-amd64.tar.gz"
|
||||
MD5SUM_x86_64="46bbe640093f6d5c43a1a56913c89927"
|
||||
DOWNLOAD="https://github.com/asciinema/asciinema/releases/download/v1.1.0/asciinema-1.1.0-linux-386.tar.gz"
|
||||
MD5SUM="be034c9fa69c02842eeb1d5431ce59d7"
|
||||
DOWNLOAD_x86_64="https://github.com/asciinema/asciinema/releases/download/v1.1.0/asciinema-1.1.0-linux-amd64.tar.gz"
|
||||
MD5SUM_x86_64="bd9994e17d4cbba92b919d5de75b6ca4"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Dimitris Zlatanidis"
|
||||
EMAIL="d.zlatanidis@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue