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

Feature request: Lightweight CLI for executing statements (low priority) #16

Open
littledan opened this issue Feb 13, 2017 · 2 comments

Comments

@littledan
Copy link

d8 -e treats its argument as if it's a script to execute. Although eshost -e is more convenient for a lot of things by evaluating and printing the expression, it would also be nice to have a lightweight way to run statements without writing them in a file

@dilijev
Copy link
Collaborator

dilijev commented Apr 21, 2017

@littledan would a command line flag like -e that doesn't wrap the expression in print(...) fit the bill or is the CLI part (that prints the result of every expression, like node) what you're really looking for?

@littledan
Copy link
Author

If there's a way to print the value while also running it as a statement, that would be ideal. Anyway, this is just a convenience suggestion, and I'm getting along fine as is.

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

2 participants