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

Consider moving tpkg executable logic to library #28

Open
jheiss opened this issue Aug 17, 2012 · 0 comments
Open

Consider moving tpkg executable logic to library #28

jheiss opened this issue Aug 17, 2012 · 0 comments

Comments

@jheiss
Copy link
Member

jheiss commented Aug 17, 2012

Most other ruby command line apps that I've seen have all of their executable logic in a library file. The actual executable file is then usually extremely short, just "require"ing one or two library files. I haven't looked much yet to see if there's an obvious reason why they structure things this way. Possibilities that occur to me might be easier unit testing and/or allowing users to repurpose CLI functionality in their own applications. We should investigate this further and decide if this approach should be taken for the tpkg executable.

Was: https://sourceforge.net/apps/trac/tpkg/ticket/46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant