Closed Bug 642239 Opened 13 years ago Closed 13 years ago

GCLI should have history retention

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwalker, Assigned: fitzgen)

References

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.
Whiteboard: [estimate:best=2d,likely=3d,worst=8d]
No longer blocks: GCLI-EXPERIMENT
Blocks: GCLI-FUTURE
Blocks: GCLI-HELP
No longer blocks: GCLI-FUTURE
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).
Joe,

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