google / google/fleetspeak

Fix admin/cli library interface.

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
154
Forks
33
Avg merge
1d 13h
Merged PRs (30d)
2

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.