-
Notifications
You must be signed in to change notification settings - Fork 672
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
[Docs] Help messages, error messages, and documentation for pyflyte package
unfortunately result in a very bad first-time UX
#5435
Comments
The issue you described highlights several pain points with the
Would you like a detailed breakdown of how to implement these changes or more information on a specific point? Sources: This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not. Mention @RunLLM to ask follow-up questions. See runllm.com for more! |
pyflyte package
unfortunately result in a very bad UXpyflyte package
unfortunately result in a very bad first-time UX
Hello @fg91 |
Done 🙏 You can tag me in the PR as reviewer if you make one. |
Definitely @fg91 Thanks for assigning me this issue |
Hii @fg91 I wanted to let you know that I added an example to use Could you please review the work I have completed so far. Additionally, I would like your guidance on how to proceed further. |
We'll also need to remove "Like |
Description
Imagine we have a working directory called
workflows
which contains a filewf.py
which I as a first-time user ofpyflyte package
want to package:When a user runs
pyflyte package —help
, they see:So I ran
pyflyte package -s .
which gives this error:When googling
pyflyte package
, the first result is this docs page which does, however, not contain any example of how to usepyflyte package
.This docs page which I found next and which describes all pyflyte commands and options also does not contain a working code snippet.
Only when searching further I found this page which gives the first hint that the
—source
flag is not the right way to specify the workflow package/location but that one needs to use thepyflyte --pkgs <path> package
command which notably does not contain—source
.When trying
pyflyte --pkgs . package
, I get this error:Only when trying
pyflyte --pkgs workflows package
instead ofpyflyte --pkgs . package
from the parent directory ofworkflows
, it finally works.Todos for closing this issue:
—source
argument ofpyflyte package
is used or remove the—source
argument if in fact it is not working.pyflyte package —help
should show a working command including the—pkgs
option.pyflyte package
pyflyte —pkgs . package
should work when passing.
as the current working directory or should at least catch the exception and provide a meaningful error message.Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: