victorb/trymodule

Save/Restore session

Open

#11 aperta il 21 mar 2016

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (31 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (1133 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Something that would be useful to have is a save/restore functionality, where previous entered code and state can be restored in a future session.

  1. User enters trymodule lodash and repl opens with lodash installed
  2. User enters var something = lodash.repeat('WIN', 5)
  3. User enters save()
  4. User closes repl and opens it again with trymodule colors
  5. User enters restore()

And now something and lodash is available in the repl again.

Guida contributor