Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding setters and getters related to help #105

Merged
merged 2 commits into from
Apr 11, 2018
Merged

Adding setters and getters related to help #105

merged 2 commits into from
Apr 11, 2018

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Apr 11, 2018

This adds utilities to App to make custom conversion to printout formats easier:

  • get_options: The original list of options added to the app
  • get_description: The description attached to the app
  • set_name: Set the app name
  • Apps now support a name after the description - if the name is set, use that instead of argv[0] for the app name

@codecov
Copy link

codecov bot commented Apr 11, 2018

Codecov Report

Merging #105 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #105   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           9      9           
  Lines        1407   1418   +11     
=====================================
+ Hits         1407   1418   +11
Impacted Files Coverage Δ
include/CLI/App.hpp 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b519a13...2f241bd. Read the comment docs.

@henryiii henryiii changed the title Adding two required functions Adding setters and getters related to help Apr 11, 2018
@henryiii henryiii merged commit c63288a into master Apr 11, 2018
@henryiii henryiii deleted the twofunc branch April 11, 2018 20:18
@henryiii henryiii added this to the v1.5.1 milestone May 2, 2018
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.

1 participant