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

Utilize sys.arg within code.py #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

elliot-at-looker
Copy link
Contributor

Using the click library you suggested wasn't working for me since it seems like it requires a function to be called with the args specified and code.py is not currently structured this way.

I went with sys.args instead... Try the following commands:

python code.py org_chart
python code.py open_jobs

It works but doesn't perform any sort of validation and could likely be improved. Nonetheless I thought it would be good to get up as a PR. Lmk what you think.

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

Successfully merging this pull request may close these issues.

1 participant