cmd

package
v0.0.0-...-027b7d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigureCmd

func NewConfigureCmd(configManager config.Manager, inputCtrl inputController) *cobra.Command

NewConfigureCmd creates a new Cobra Command that helps configuring the application

func NewRootCmd

func NewRootCmd(configManager config.Manager, inputCtrl inputController, togglAPI api.TogglAPI, jiraAPI api.JiraAPI) *cobra.Command

NewRootCmd creates a new Cobra Command that acts as entry point for all operations

func NewVersionCmd

func NewVersionCmd() *cobra.Command

NewVersionCmd creates a new Cobra Command that prints out the current version of the application

Types

type StdInController

type StdInController struct{}

StdInController is an input controller that redirects all calls to Stdin

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL