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

Can I initialize the sandbox providing a few commands? #17

Open
marco-faustinelli opened this issue Sep 15, 2015 · 0 comments
Open

Can I initialize the sandbox providing a few commands? #17

marco-faustinelli opened this issue Sep 15, 2015 · 0 comments

Comments

@marco-faustinelli
Copy link

I'd like to specify a few commands that will be executed in front of the user as soon as the sandbox initializes. In this way the console user will find a few variables already valorized the way I want.

Please note I am not talking about importing a short JS file that contains those commands. What I mean is providing an array of commands in string format to be read and sent to Model.evaluate

This will keep those commands in the visible history of the console just before the user starts typing in his own commands. The pre-evalued commands will give the user a description of the scenario in which I want him to operate.

How can I do that? Is it possible?

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

No branches or pull requests

1 participant