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

A way to reference tric's vars in the command line #68

Open
cliffordp opened this issue Dec 14, 2020 · 0 comments
Open

A way to reference tric's vars in the command line #68

cliffordp opened this issue Dec 14, 2020 · 0 comments

Comments

@cliffordp
Copy link
Contributor

Is there a way to access tric's vars via CLI, even if dumping one or all into the CLI's env vars?

This works:
${TRIC_BIN_PATH} site-cli plugin install ./wp-content/plugins/${_PLUGIN_SLUG}/external/gravityforms_2.4.21.7.zip

But I'd prefer avoiding the hard-coded wp-content/plugins part of that command and instead use tric's ${CODECEPTION_PROJECT_DIR}/external/gravityforms_2.4.21.7.zip

But that doesn't work:
image

And since CODECEPTION_PROJECT_DIR isn't part of tric info's "Current configuration" output, I also tried TRIC_PLUGINS_DIR but the same result (as expected):
image

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