This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
import os | |
import sys | |
import subprocess | |
def parse_io(): | |
if len(sys.argv) == 2 and sys.argv[1] == "-h": | |
print("Pass scheme as first parameter") | |
print("In this scheme, the scheme itself is removed and the remaining content is split based on the slashes") | |
print("For example: myscheme://a/b/c would be sliced into ['a', 'b', 'c']") |