Closed adnan-alam closed 5 years ago
You'll need to wrap the script using argparse, as currently there is no title/description/etc. to keep track of for versions. This can be simple as:
import argparse
parser = argparse.ArgumentParser('My cool script')
def main():
your_stuff_here
if __name__ == '__main__':
main()
(I wrote that in github's editor, so workable code is a maybe, but that's the idea. Let me know if this helps.
Thanks, it worked !
I want to add script that don't require any type of argument to be passed by the user. But failed to add this type of script. A sample of script is given below:
I'm getting this error when try to add this script: