triumph-cmds icon indicating copy to clipboard operation
triumph-cmds copied to clipboard

Allow parsing of string into Arguments object

Open viveleroi opened this issue 2 years ago • 3 comments

I need a way to turn a string of commands/arguments/etc into an Arguments object.

Our reasoning is because the same NamedArguments we use in-game can be set in config files as defaults or easily re-usable search params (and params to use for purging data). Because the user is not entering these values as a command, I need some way to parse them.

Maybe something like Arguments arguments = namedArguments.parse('prism lookup p:viveleroi since:3d')

viveleroi avatar Jul 10 '22 19:07 viveleroi

HI @viveleroi can you assign this one to me under hacktoberfest22 tag?

c99SRS avatar Oct 06 '22 22:10 c99SRS

I don't have access to that, sorry.

viveleroi avatar Oct 06 '22 23:10 viveleroi

HI @viveleroi can you assign this one to me under hacktoberfest22 tag?

The repository already has the hacktoberfest tag so if you make the PR and it gets accepted until October 31st it will count.

BlitzOffline avatar Oct 11 '22 16:10 BlitzOffline