avast / yarang

Alternative YARA scanning engine
MIT License
66 stars 6 forks source link

Add a CLI that includes a help function #5

Open anotherbridge opened 1 year ago

anotherbridge commented 1 year ago

I have not been able to get a better understand (without diving into the source code) of how to apply yarang as a user, since there is no help functionality.

When running either yarang help, yarang -h, yarang --help, or yarang -help, the response is always:

terminate called after throwing an instance of 'std::runtime_error'
  what():  At least one input file/directory needs to be specified
Aborted (core dumped)

Could you please add a CLI that includes a help function, so that your program becomes more accessible/understandable by other users?