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

Command line support (pipx) #131

Open
OverkillGuy opened this issue May 12, 2020 · 2 comments
Open

Command line support (pipx) #131

OverkillGuy opened this issue May 12, 2020 · 2 comments
Labels
kind/feature New feature or request status/need-to-review Need to review

Comments

@OverkillGuy
Copy link

Just discovered your tool, looks amazing!

I would like to use this from command line via pipx, so I can create a few diagrams like PlantUML, but with a dedicated virtualenv for that executable.

I see the scripts/generate.py as a candidate for packaging, which I'd propose to ship as poetry.script section. This means the following would be possible:

pipx install diagrams
diagrams example.py

I don't know about the arguments if any, though.

@OverkillGuy OverkillGuy changed the title Command line support Command line support (pipx) May 12, 2020
@OverkillGuy
Copy link
Author

As mentioned on PR, the scripts/generate.py seems to not be what I thought, but I still believe an executable would be valuable (for pipx installation giving separation in virtualenv + easy use without clear python project), but might be more of an effort than previously thought.

@mingrammer mingrammer added kind/feature New feature or request status/need-to-review Need to review labels May 17, 2020
@mingrammer
Copy link
Owner

Rel: #6 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request status/need-to-review Need to review
Projects
None yet
Development

No branches or pull requests

2 participants