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

Ease of use changes #55

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

Ease of use changes #55

wants to merge 2 commits into from

Conversation

MllwAlms
Copy link

@MllwAlms MllwAlms commented Feb 1, 2022

  • URL connection success notice
  • Replace input with argv
  • Automates license header update using uncurl and URL

- URL connection success notice
- Replace input with argv
- Automates license header update using uncurl and URL
@pythonkenyard
Copy link

pythonkenyard commented Feb 2, 2022

You should allow both options for situation where users dont know to add it as sys arg.

try:
MDP_URL = sys.argv[1]
lic_url = sys.argv[2]
except:
MDP_URL = input('\nInput MPD URL: ')
lic_url = input('License URL: ')

edit: comments dont allow indent formatting it seems

@MllwAlms
Copy link
Author

MllwAlms commented Feb 4, 2022

Added

You should allow both options for situation where users dont know to add it as sys arg.

try: MDP_URL = sys.argv[1] lic_url = sys.argv[2] except: MDP_URL = input('\nInput MPD URL: ') lic_url = input('License URL: ')

edit: comments dont allow indent formatting it seems

Added

Added option for user input. Doesn't force argv.
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.

2 participants