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

Fix admin/cli library interface. #26

Open
bgalehouse opened this issue Jan 8, 2018 · 0 comments
Open

Fix admin/cli library interface. #26

bgalehouse opened this issue Jan 8, 2018 · 0 comments

Comments

@bgalehouse
Copy link
Contributor

When adding to the admin/cli library, it is necessary to update Usage(), and necessary to manually add the functionality to any derived command line tools (e.g. demo/admin_cli).

This issue is to clean this up.

Suggested resolution is to restructure the cli library to define a command struct or interface, so that each operation's usage line can be defined next to its implementation. Then it can export a collection of known commands for derived tools to use.

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