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

Status of project #4

Open
springmeyer opened this issue Nov 27, 2017 · 2 comments
Open

Status of project #4

springmeyer opened this issue Nov 27, 2017 · 2 comments

Comments

@springmeyer
Copy link

I see great value to cpp-cli-skel because:

  • Command line interfaces are a great way to prototype new projects
  • Command line interfaces are a common and very valuable way to distribute C++ code, and therefore establishing best practices for how Mapbox devs develop C++ CLI interfaces is important for scaling our work.

At the same time this project has been dormant, in my mind, because:

Questions in my mind:

  • Should we put this project on ICE and clearly direct interested people to hpp-skel for prototyping for now?
  • Should we put time into investigating the ideal option parser and reboot 0.0.1 #2 with it and get things landed and working?

@mapbox/core-tech

@mapsam
Copy link
Contributor

mapsam commented Nov 27, 2017

@springmeyer I'm in favor of ⛸

We aren't maintaining this, plus hpp-skel is our development playground. The only thing missing for me right now are docs on how to create a CLI from hpp-skel. Is that possible? Or at least a section talking about "how to use hpp-skel for CLI tools"

@springmeyer
Copy link
Author

The only thing missing for me right now are docs on how to create a CLI from hpp-skel. Is that possible?

Yes, I think it it would be as simple as:

  • adding another add_executable call to the CMakeLists.txt of hpp-skel
  • dreaming up what the CLI tool would do: maybe it would accept a command line argument for a word to print and print that + provide basic usage if you passed --help?
  • Adding a test that tested the command line tool is working (perhaps to the unit tests, they could shell out to it using std::system).

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

No branches or pull requests

2 participants