Skip to content

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

@marco-faustinelli

Description

@marco-faustinelli

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions