Amver / easymyp

Automatically exported from code.google.com/p/easymyp
0 stars 0 forks source link

Command line support for scripting #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We may use it in scripting, could it support command line usage?

Original issue reported on code.google.com by chuanhsing on 1 Oct 2008 at 8:11

GoogleCodeExporter commented 9 years ago
Could you explain more on what you would like to do with the command line?

Original comment by ChryzoPh...@gmail.com on 1 Oct 2008 at 9:58

GoogleCodeExporter commented 9 years ago
Like mpq2k command line formats:

List files: easymyp l <archive> [filter] [out_file] [/lf] [/p]
Extract Files: easymyp e <archive> <*int_file> [target_dir] [/fp] [/r]
....

Parameters:

<archive> MYP archive to extract file(s) from
<*int_file> File(s) to extract from archive. Wildcards (*/?) allowed
[target_dir] Directory on disk to place extraced file(s)
[/fp] File(s) will be extracted with their full path from the MYP archive
[/r] Wildcard specs will include subdirectories

Original comment by chuanhsing on 1 Oct 2008 at 12:32

GoogleCodeExporter commented 9 years ago
I see.

Lets put that as an Enhancement... I have no idea at the moment how long it 
would
take to add command line support. (I do not know how to check if an application 
was
run from command line or a shortcut or directly, need to check how to do that)

I'll put this in the version 2 TODO list.

Original comment by ChryzoPh...@gmail.com on 1 Oct 2008 at 1:37

GoogleCodeExporter commented 9 years ago
Question, can you say why do you need such command line utility ?

Original comment by ChryzoPh...@gmail.com on 8 Oct 2008 at 10:13

GoogleCodeExporter commented 9 years ago
I want to build a war hammer database and need many auto script for extract and 
convert.

Original comment by chuanhsing on 8 Oct 2008 at 10:30

GoogleCodeExporter commented 9 years ago
okay, could you get me on IRC sometimes so we can chat a bit about this? (server
irc.freenode.com chan #waruidev)

Original comment by ChryzoPh...@gmail.com on 8 Oct 2008 at 2:37

GoogleCodeExporter commented 9 years ago
If you are scripting, you might as well use the libraries directly

Original comment by ChryzoPh...@gmail.com on 16 Oct 2008 at 4:21