Documentation
¶
Overview ¶
Package proposals provides proposal commands for GitScrum CLI
Index ¶
- func NewCmdProposals(f *factory.Factory) *cobra.Command
- func NewCmdProposalsConvert(f *factory.Factory) *cobra.Command
- func NewCmdProposalsCreate(f *factory.Factory) *cobra.Command
- func NewCmdProposalsSend(f *factory.Factory) *cobra.Command
- func NewCmdProposalsView(f *factory.Factory) *cobra.Command
- type Proposal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdProposals ¶
NewCmdProposals creates the proposals command group
func NewCmdProposalsConvert ¶
NewCmdProposalsConvert converts proposal to project
func NewCmdProposalsCreate ¶
NewCmdProposalsCreate creates a new proposal
func NewCmdProposalsSend ¶
NewCmdProposalsSend sends a proposal
Types ¶
type Proposal ¶
type Proposal struct {
UUID string `json:"uuid"`
RefCode string `json:"ref_code"`
Code string `json:"code"`
Title string `json:"title"`
Status string `json:"status"`
StatusLabel string `json:"status_label"`
TotalValueFormatted string `json:"total_value_formatted"`
Currency string `json:"currency"`
ContactCompany *struct {
Name string `json:"name"`
UUID string `json:"uuid"`
} `json:"contact_company"`
ClientName string `json:"client_name"`
ExpiresAt *api.DateResource `json:"expires_at"`
CreatedAt *api.DateResource `json:"created_at"`
}
Proposal represents a proposal (matches ProposalResource.php)
Click to show internal directories.
Click to hide internal directories.