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

Common place to pass program context #24

aliles opened this issue Sep 19, 2013 · 0 comments

Common place to pass program context #24

aliles opened this issue Sep 19, 2013 · 0 comments


Copy link

@aliles aliles commented Sep 19, 2013

Provide a common, documented place where state can be passed between program main and sub-command functions. This would support, for example, using the main function to open a common database connection while sub-commands performed actions using that connection. Additionally, Begins can pass state about previous, current and future commands using the same mechanism.

@aliles aliles closed this in 7be39ca Sep 19, 2013
aliles referenced this issue Sep 19, 2013
Close #16 to add support for calling programs with multiple subcommands
on the command line. This support is enabled by providing a delimeter
that is used to identify the multiple commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.