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

oz123 / mach
90%
master: 94%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/py-1.10.0
DEFAULT BRANCH: master
Repo Added 21 May 2018 06:55PM 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 0.4.1
branch: 0.4.1
CHANGE BRANCH
x
Reset
  • 0.4.1
  • 0.1.3
  • 0.1.4
  • 0.2
  • 0.3
  • 0.4
  • 0.4.2
  • 0.4.3
  • dependabot/pip/py-1.10.0
  • master

pending completion
29

push

travis-ci

oz123
Add undocumented beta feature for optional flags

Until now mach.py supported sub-commands only. But we might
want to add also support for --flags. Currently the way to do this
is:

@mach1()
class Bolt:
    """
    The main entry point for the program. This class does the CLI parsing
    and descides which action shoud be taken
    """
    def __init__(self):

        self.parser.add_argument("--version", action="store_true",
                                 help="show version and exit")

    def _get_version(self):
        print("Bolt version:", __version__)

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

151 of 167 relevant lines covered (90.42%)

0.9 hits per line

Relevant lines Covered
Build:
Build:
167 RELEVANT LINES 151 COVERED LINES
0.9 HITS PER LINE
Source Files on 0.4.1
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29 0.4.1 Add undocumented beta feature for optional flags Until now mach.py supported sub-commands only. But we might want to add also support for --flags. Currently the way to do this is: @mach1() class Bolt: """ The main entry point for the pro... push 11 Oct 2018 04:40AM UTC oz123 travis-ci pending completion  
See All Builds (29)
  • 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