Add CLI
This commit is contained in:
@@ -29,3 +29,11 @@ def traps(directory):
|
||||
if not block:
|
||||
break
|
||||
f.write(block)
|
||||
|
||||
|
||||
def main():
|
||||
get()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import traps
|
||||
from traps import main
|
||||
|
||||
if __name__ == '__main__':
|
||||
traps.get()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user