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

Allow entities to be symbols in "clojure -T" commands #154

Closed
tengstrand opened this issue Oct 29, 2021 · 1 comment
Closed

Allow entities to be symbols in "clojure -T" commands #154

tengstrand opened this issue Oct 29, 2021 · 1 comment
Assignees
Labels
improvement Not a bug but an improvement to overall user experience

Comments

@tengstrand
Copy link
Collaborator

tengstrand commented Oct 29, 2021

Is your feature request related to a problem? Please describe.
Today we have to give entity values as strings, e.g.:
clojure -Tpoly create entity '"workspace"' name next-gen top-ns com.my-company

Describe the solution you'd like
It would be good if the tool allowed us to pass them in as symbols:
clojure -Tpoly create entity workspace name next-gen top-ns com.my-company

See thread in Slack.

When this is released, make sure to update the Clojure CLI Tool section in the documentation.

@tengstrand tengstrand added the improvement Not a bug but an improvement to overall user experience label Oct 29, 2021
@tengstrand
Copy link
Collaborator Author

This functionality can be tested now with e.g. these statements (the SHA points to the last commit in the issue-154 branch):

clojure -Ttools install io.github.polyfy/polylith '{:git/sha "d38c1ad938cc73298b592beb64157d9c80048424" :deps/root "projects/poly"}' :as poly
clojure -Tpoly create entity workspace name myworkspace top-ns com.my-company

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Not a bug but an improvement to overall user experience
Projects
None yet
Development

No branches or pull requests

1 participant