Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommands ¶
AddCommands adds all the commands from cli/command to the root command.
func NewAddCommand ¶
NewAddCommand creates a new cobra.Command for adding a new item to the list.
func NewListCommand ¶
NewListCommand creates a new cobra.Command for listing todo items.
func NewMarkAsCompleteCommand ¶
NewMarkAsCompleteCommand creates a new cobra.Command for marking a todo item as complete.
Types ¶
type Context ¶
type Context interface {
GetTodoClient() todov1.TodoListServiceClient
}
Context represents the application context.
Click to show internal directories.
Click to hide internal directories.