clients

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package clients provides client CRM commands for GitScrum CLI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdClients

func NewCmdClients(f *factory.Factory) *cobra.Command

NewCmdClients creates the clients command group

func NewCmdClientsCreate

func NewCmdClientsCreate(f *factory.Factory) *cobra.Command

NewCmdClientsCreate creates a new client

func NewCmdClientsProjects

func NewCmdClientsProjects(f *factory.Factory) *cobra.Command

NewCmdClientsProjects lists client projects

func NewCmdClientsStats

func NewCmdClientsStats(f *factory.Factory) *cobra.Command

NewCmdClientsStats shows client statistics

func NewCmdClientsView

func NewCmdClientsView(f *factory.Factory) *cobra.Command

NewCmdClientsView shows client details

Types

type Client

type Client struct {
	UUID                string            `json:"uuid"`
	RefCode             string            `json:"ref_code"`
	Name                string            `json:"name"`
	Email               string            `json:"email"`
	Phone               string            `json:"phone"`
	Website             string            `json:"website"`
	ProjectsCount       int               `json:"projects_count"`
	InvoicesCount       int               `json:"invoices_count"`
	ProposalsCount      int               `json:"proposals_count"`
	ChangeRequestsCount int               `json:"change_requests_count"`
	TotalPaid           int               `json:"total_paid"`
	TotalPending        int               `json:"total_pending"`
	HasOverdue          bool              `json:"has_overdue"`
	CreatedAt           *api.DateResource `json:"created_at"`
}

Client represents a contact company (matches ContactCompanyResource.php)

Jump to

Keyboard shortcuts

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