Skip to content

feat: support all remaining arguments - #36

Open
Freed-Wu wants to merge 1 commit into
luarocks:masterfrom
Freed-Wu:dev
Open

Freed-Wu wants to merge 1 commit into
luarocks:masterfrom
Freed-Wu:dev

Conversation

@Freed-Wu

Copy link
Copy Markdown

Fix #30

@daurnimator daurnimator left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't feel qualified to review or merge this, but I'm not sure who is.

How/why did you decide to implement it this way? e.g. the implementation seems a bit weird to me that you had to modified the option and argument paths

Comment thread src/argparse.lua
end

function ParseState:pass(arg)
if self._stop_parsing then

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't love this variable naming choice; it seems to be remainder args specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] :args "..." like python's argparse

2 participants