The default bug view has changed. See this FAQ.

GCLI should have history retention

RESOLVED FIXED

Status

()

Firefox
Developer Tools
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jwalker, Assigned: fitzgen)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [estimate:best=2d,likely=3d,worst=8d])

GCLI should retain a history of commands executed, and the values that they returned, for use in other commands.
Blocks: 642229
Whiteboard: [estimate:best=2d,likely=3d,worst=8d]
No longer blocks: 642229
Blocks: 659052
Blocks: 659059
No longer blocks: 659052
Assignee: nobody → nfitzgerald
Things to consider:

Should we handle history on a per command basis? For example, in the following, we cycle backwards through echo's particular history:

    > echo "hi"
    > eval 1 + 1
    > echo <up>
    > echo "hi"

We could also possibly take advantage of type information. The ast will have the types. This seems like it would be useful if we had specific types (such as git repositories), but problematic with generic types (such as strings).
Basic implementation at https://github.com/fitzgen/gcli/tree/642239-history
Joe,

Can we close this issue, now that my implementation has been merged in to master?
Yes - go ahead
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.