.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\fR Only commands of this kind (am or shell) .TP \fB\-\-cwd\fR \fI\fR Only commands run in this directory .TP \fB\-\-search\fR \fI\fR Full\-text search in the command line .TP \fB\-\-failed\fR Only failed commands .TP \fB\-\-session\fR \fI\fR Only commands of this session .TP \fB\-\-limit\fR \fI\fR [default: 100] Maximum number of entries (default: 100) .TP \fB\-\-rerun\fR \fI\fR Re\-run the Nth most recent entry (with confirmation) .TP \fB\-\-save\fR \fI\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)