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

mpeterv / argparse / 100
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: 0.5.0
DEFAULT BRANCH: master
Ran 23 Nov 2015 12:59PM UTC
Jobs 4
Files 1
Run time 23s
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

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

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
src/argparse.lua
Jobs
ID Job ID Ran Files Coverage
1 100.1 (LUA="lua 5.1") 23 Nov 2015 12:59PM UTC 0
96.88
Travis Job 100.1
2 100.2 (LUA="lua 5.2") 23 Nov 2015 12:59PM UTC 0
96.87
Travis Job 100.2
3 100.3 (LUA="lua 5.3") 23 Nov 2015 12:59PM UTC 0
96.87
Travis Job 100.3
4 100.4 (LUA="luajit 2.0") 23 Nov 2015 12:59PM UTC 0
96.19
Travis Job 100.4
Source Files on build 100
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #100
  • 247ed9e8 on github
  • Prev Build on dev (#99)
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