Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per-origin history file #11

Closed
mmalecki opened this issue Jan 17, 2020 · 0 comments
Closed

Per-origin history file #11

mmalecki opened this issue Jan 17, 2020 · 0 comments
Projects

Comments

@mmalecki
Copy link
Owner

This is a tiny bit different from #8, so let's track it separately.
I'd like http-console2 to store histories of different origins in different files, optionally configurable via contexts.

@mmalecki mmalecki added this to To do in 0.9 via automation Jan 17, 2020
@mmalecki mmalecki moved this from To do to In progress in 0.9 Jan 17, 2020
mmalecki added a commit that referenced this issue Jan 17, 2020
We now persist our histories in `~/.http_console_history` directory.
File names are either derived from the normalized URL, or can be passed
explicitly using the `--history <name>` switch.

Move `HTTPConsole.bodyHistories` and `HTTPConsole.commandHistories`
into a `HTTPConsole.histories` object, which can now store arbitrarily
named histories.

Fixes #11.
0.9 automation moved this from In progress to Done Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
0.9
  
Done
Development

No branches or pull requests

1 participant