Skip to content
Snippets Groups Projects
Commit d73a20ac authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Add a "read" command to test the Arhive.read() method.

parent f85cba05
No related branches found
No related tags found
1 merge request!123New file base
Pipeline #1782 passed
......@@ -25,6 +25,9 @@ switch(cmd) {
case 'extract':
Archive(fname).extract.apply(null, argv);
break;
case 'read':
print(Archive(fname).read(argv[0]));
break;
case 'type':
print(Archive(fname).type);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment