41 lines
1.1 KiB
Groff
41 lines
1.1 KiB
Groff
.ie \n(.g .ds Aq \(aq
|
|
.el .ds Aq '
|
|
.TH am-history 1 "history "
|
|
.SH NAME
|
|
history \- Search the command history (am and shell commands)
|
|
.SH SYNOPSIS
|
|
\fBhistory\fR [\fB\-\-kind\fR] [\fB\-\-cwd\fR] [\fB\-\-search\fR] [\fB\-\-failed\fR] [\fB\-\-session\fR] [\fB\-\-limit\fR] [\fB\-\-rerun\fR] [\fB\-\-save\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIRANGE\fR]
|
|
.SH DESCRIPTION
|
|
Search the command history (am and shell commands)
|
|
.SH OPTIONS
|
|
.TP
|
|
\fB\-\-kind\fR \fI<KIND>\fR
|
|
Only commands of this kind (am or shell)
|
|
.TP
|
|
\fB\-\-cwd\fR \fI<DIR>\fR
|
|
Only commands run in this directory
|
|
.TP
|
|
\fB\-\-search\fR \fI<TEXT>\fR
|
|
Full\-text search in the command line
|
|
.TP
|
|
\fB\-\-failed\fR
|
|
Only failed commands
|
|
.TP
|
|
\fB\-\-session\fR \fI<ID>\fR
|
|
Only commands of this session
|
|
.TP
|
|
\fB\-\-limit\fR \fI<N>\fR [default: 100]
|
|
Maximum number of entries (default: 100)
|
|
.TP
|
|
\fB\-\-rerun\fR \fI<N>\fR
|
|
Re\-run the Nth most recent entry (with confirmation)
|
|
.TP
|
|
\fB\-\-save\fR \fI<FILE>\fR
|
|
Export the range as a playbook YAML file (issue #51)
|
|
.TP
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
Print help
|
|
.TP
|
|
[\fIRANGE\fR]
|
|
Range to export as a playbook: "12..25" (1\-based, newest first)
|