• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mpeterv / argparse
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: 0.5.0
DEFAULT BRANCH: master
Repo Added 24 Sep 2015 03:46PM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH dev
branch: dev
CHANGE BRANCH
x
Reset
  • dev
  • 0.5.0
  • master

pending completion
100

push

travis-ci

mpeterv
New Parser/Command property 'command_target'

Allows saving name of used command in a field of result target.
Helpful when command callbacks are stored in a table with names as keys
or when they are in submodules of some namespace.

Example:

    local parser = argparse():command_target("command")
    -- Add commands...
    local args = parser:parse()
    require("namespace." .. args.command).run(args)

4 of 4 new or added lines in 1 file covered. (100.0%)

622 of 642 relevant lines covered (96.88%)

577.4 hits per line

Relevant lines Covered
Build:
Build:
642 RELEVANT LINES 622 COVERED LINES
577.4 HITS PER LINE
Source Files on dev
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
100 dev New Parser/Command property 'command_target' Allows saving name of used command in a field of result target. Helpful when command callbacks are stored in a table with names as keys or when they are in submodules of some namespace. Example: ... push 23 Nov 2015 12:59PM UTC mpeterv travis-ci pending completion  
99 dev Respect empty initial value in 'append' and 'concat' actions push 31 Oct 2015 05:21PM UTC mpeterv travis-ci pending completion  
98 dev Add :init() property Allows setting initial stored value. Can be also set using :default() with a non-string argument. push 31 Oct 2015 04:21PM UTC mpeterv travis-ci pending completion  
97 dev Implement command actions push 31 Oct 2015 12:54PM UTC mpeterv travis-ci pending completion  
96 dev Add actions for arguments push 30 Oct 2015 12:19PM UTC mpeterv travis-ci pending completion  
95 dev Redesign argument storing * Use state objects instead of tons of locals in the main function. * Use actions for storing arguments into result table. Actions are now called at the end of each invocation, with result table, target index, argu... push 29 Oct 2015 06:02PM UTC mpeterv travis-ci pending completion  
See All Builds (10)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc