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

saveriomiroddi / simple_scripting
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: improve_command_error_messages
DEFAULT BRANCH: master
Repo Added 07 Sep 2017 02:43PM UTC
Files 5
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 argv_exit_on_help
branch: argv_exit_on_help
CHANGE BRANCH
x
Reset
  • argv_exit_on_help
  • 0.9.3
  • add_badges_to_readme
  • add_code_coverage
  • add_ruby_2.6_to_build
  • announce_tab_completion_component
  • argv_improve_error_management
  • argv_make_automatic_help_optional
  • automatic_switch_argument_array_decoding
  • cleanup_code
  • configuration_add_required_keys_support
  • create_config_file_if_not_existing
  • default_to_error_printing_instead_of_raising
  • dont_exit_interpreter_on_help
  • dont_exit_on_error
  • drop_ruby_22_support
  • enforce_keys
  • fix_gemfile_lock
  • gitignore_updates
  • improve_argv_test_suite
  • improve_command_error_messages
  • improve_commands_help
  • improve_error_message_for_missing_command
  • improve_gem_requirements
  • improve_travis
  • master
  • minor_cleanups
  • nested_commands
  • remove_bundler_lockfile
  • remove_gemnasium_badge
  • remove_test_suite_from_coverage
  • remove_travis_bundler_issue_workaround
  • return_subcommands_as_joined_string
  • support_commands_long_help
  • support_mixing_mandatory_arguments_with_varargs
  • tab_completion
  • update_gemfile
  • update_ruby_travis_support
  • v0.11.0
  • v0.11.1
  • v0.12.0
  • v0.9.4

pending completion
144

push

travis-ci

saveriomiroddi
Argv refactoring; use throw/catch for help printing

This simplifies the code significantly, also removing the need for @output. Hopefully, @long_help can be somewhat cleanly removed as well.

The drive for this is actually to allow a clean :auto_help implementation. An issue (which is not a problem right now) that there is currently in the code is that exit on error and exit on help are the same thing.

143 of 146 relevant lines covered (97.95%)

15.03 hits per line

Relevant lines Covered
Build:
Build:
146 RELEVANT LINES 143 COVERED LINES
15.03 HITS PER LINE
Source Files on argv_exit_on_help
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
144 argv_exit_on_help Argv refactoring; use throw/catch for help printing This simplifies the code significantly, also removing the need for @output. Hopefully, @long_help can be somewhat cleanly removed as well. The drive for this is actually to allow a clean :auto_... push 18 Jul 2018 07:42AM UTC saveriomiroddi travis-ci pending completion  
143 argv_exit_on_help argv_spec.rb: use squiggly heredoc instead of ugly double quotes push 18 Jul 2018 06:37AM UTC saveriomiroddi travis-ci pending completion  
141 argv_exit_on_help Argv: support exit_on_help flag (WIP) push 17 Jul 2018 05:39PM UTC saveriomiroddi travis-ci pending completion  
See All Builds (153)
  • 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

© 2025 Coveralls, Inc