Skip to content

WIP: Backport 'history show' subcommand from #13568 for 7.x branch#13569

Closed
ernstki wants to merge 1 commit intoipython:7.xfrom
ernstki:implement-history-show-7.x
Closed

WIP: Backport 'history show' subcommand from #13568 for 7.x branch#13569
ernstki wants to merge 1 commit intoipython:7.xfrom
ernstki:implement-history-show-7.x

Conversation

@ernstki
Copy link
Copy Markdown

@ernstki ernstki commented Mar 4, 2022

Backported from ce21888 to support the 7.x series, for older Pythons.

See #13568.

Backported from ce21888 to support the
7.x series, for older Pythons.

Includes:

* a `-l` / `--limit` option which defaults to the last 1000 entries from
  the SQLite history database

* a `-P` / `--pretty` option which pretty-prints the output with
  IPython.util.PyColorize

* flags to specify a custom delimiter (defaults to tab) and add a header
  row (corresponding to the SQLite column names)

* flags which control `--pretty`'s colorized output, defaulting to color
  only when stdout is a terminal
@Carreau
Copy link
Copy Markdown
Member

Carreau commented Oct 27, 2024

Many thinks for this, I'm sorry it took that long, but I don't think there will be a 7.x release; I'm doing some cleanup of old PRs so will close this.

@Carreau Carreau closed this Oct 27, 2024
@Carreau Carreau added this to the no action milestone Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants