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

Add an ability to declare injectable values by the "xec" command #199

Open
ggleyzer opened this issue Mar 27, 2024 · 0 comments
Open

Add an ability to declare injectable values by the "xec" command #199

ggleyzer opened this issue Mar 27, 2024 · 0 comments
Assignees

Comments

@ggleyzer
Copy link
Collaborator

Similarly to Java's -D option that allows declaring system properties from the command line, it would be quite useful to have a similar functionality by the xec command.

Suggested syntax is xec -I <name>=<value>[,<name>=<value>]* ...

This would allow the Ecstasy code (in the container zero) to inject the corresponding values:

@Inject String myName; // the value comes from the option "-I" on the command line

If the injection option is not specified, the value stays unassigned (the current behavior).

@ggleyzer ggleyzer changed the title Add an ability to declare injectable values in the "xec" command Add an ability to declare injectable values by the "xec" command Mar 27, 2024
cpurdy added a commit that referenced this issue Mar 28, 2024
@cpurdy cpurdy removed their assignment Mar 29, 2024
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