Orange-Cyberdefense / arsenal

Arsenal is just a quick inventory and launcher for hacking programs
GNU General Public License v3.0
3.15k stars 459 forks source link

Make args optionnal #73

Open IC-Vincent opened 8 months ago

IC-Vincent commented 8 months ago

Is it possible to make somthing like: Command <Needed_value> <?OptionalValue> So when in prompt, we must enter Needed_value but not OptionalValue Really great project btw !

v1k1ngfr commented 8 months ago

Hey, Thanks for your feedback. We will try to enhance next releases including your request for improvement.

jubeaz commented 3 months ago

Hello,

I was thinking working on such a enhancement. If I can give you my point of view. I was thinking that sometime you want make thing optional but not only variable. like a -debug.

So I was thinking something like : [ text ] where text might includes variable. for example [ -debug ] or [ -d ]

I was also thinking to {} to differentiate default enabled versus default disabled.

And in the cheat valuation process a Y or a N to activate option or not. The thing is that I'm not sure how to give a name to the option in the cheat valuation screen

IC-Vincent commented 3 months ago

I think it's a good idea, and it's better to differentiate both types. for the name idk ^^'