cmd

package
v0.0.0-...-649540d Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Copyright © 2022 HAH! Sun (github.com/omani)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type YAMLKimai

type YAMLKimai struct {
	CustomerAddress             string      `json:"customer.address" yaml:"customer.address"`
	CustomerBudgetOpen          string      `json:"customer.budget_open" yaml:"customer.budget_open"`
	CustomerBudgetOpenPlain     int         `json:"customer.budget_open_plain" yaml:"customer.budget_open_plain"`
	CustomerComment             interface{} `json:"customer.comment" yaml:"customer.comment"`
	CustomerCompany             string      `json:"customer.company" yaml:"customer.company"`
	CustomerContact             string      `json:"customer.contact" yaml:"customer.contact"`
	CustomerCountry             string      `json:"customer.country" yaml:"customer.country"`
	CustomerEmail               string      `json:"customer.email" yaml:"customer.email"`
	CustomerFax                 interface{} `json:"customer.fax" yaml:"customer.fax"`
	CustomerHomepage            string      `json:"customer.homepage" yaml:"customer.homepage"`
	CustomerID                  int         `json:"customer.id" yaml:"customer.id"`
	CustomerMobile              interface{} `json:"customer.mobile" yaml:"customer.mobile"`
	CustomerName                string      `json:"customer.name" yaml:"customer.name"`
	CustomerNumber              interface{} `json:"customer.number" yaml:"customer.number"`
	CustomerPhone               string      `json:"customer.phone" yaml:"customer.phone"`
	CustomerTimeBudgetOpen      string      `json:"customer.time_budget_open" yaml:"customer.time_budget_open"`
	CustomerTimeBudgetOpenPlain int         `json:"customer.time_budget_open_plain" yaml:"customer.time_budget_open_plain"`
	CustomerVat                 interface{} `json:"customer.vat" yaml:"customer.vat"`
	InvoiceCurrency             string      `json:"invoice.currency" yaml:"invoice.currency"`
	InvoiceCurrencySymbol       string      `json:"invoice.currency_symbol" yaml:"invoice.currency_symbol"`
	InvoiceDate                 string      `json:"invoice.date" yaml:"invoice.date"`
	InvoiceDueDate              string      `json:"invoice.due_date" yaml:"invoice.due_date"`
	InvoiceDurationDecimal      string      `json:"invoice.duration_decimal" yaml:"invoice.duration_decimal"`
	InvoiceLanguage             string      `json:"invoice.language" yaml:"invoice.language"`
	InvoiceNumber               string      `json:"invoice.number" yaml:"invoice.number"`
	InvoiceSubtotal             string      `json:"invoice.subtotal" yaml:"invoice.subtotal"`
	InvoiceSubtotalNc           string      `json:"invoice.subtotal_nc" yaml:"invoice.subtotal_nc"`
	InvoiceSubtotalPlain        float64     `json:"invoice.subtotal_plain" yaml:"invoice.subtotal_plain"`
	InvoiceTax                  string      `json:"invoice.tax" yaml:"invoice.tax"`
	InvoiceTaxNc                string      `json:"invoice.tax_nc" yaml:"invoice.tax_nc"`
	InvoiceTaxPlain             int         `json:"invoice.tax_plain" yaml:"invoice.tax_plain"`
	InvoiceTotal                string      `json:"invoice.total" yaml:"invoice.total"`
	InvoiceTotalNc              string      `json:"invoice.total_nc" yaml:"invoice.total_nc"`
	InvoiceTotalPlain           float64     `json:"invoice.total_plain" yaml:"invoice.total_plain"`
	InvoiceTotalTime            string      `json:"invoice.total_time" yaml:"invoice.total_time"`
	InvoiceVat                  int         `json:"invoice.vat" yaml:"invoice.vat"`
	Items                       []struct {
		EntryActivity          string  `json:"entry.activity" yaml:"entry.activity"`
		EntryActivityID        int     `json:"entry.activity_id" yaml:"entry.activity_id"`
		EntryAmount            string  `json:"entry.amount" yaml:"entry.amount"`
		EntryBegin             string  `json:"entry.begin" yaml:"entry.begin"`
		EntryBeginTime         string  `json:"entry.begin_time" yaml:"entry.begin_time"`
		EntryBeginTimestamp    int     `json:"entry.begin_timestamp" yaml:"entry.begin_timestamp"`
		EntryCategory          string  `json:"entry.category" yaml:"entry.category"`
		EntryCurrency          string  `json:"entry.currency" yaml:"entry.currency"`
		EntryCustomer          string  `json:"entry.customer" yaml:"entry.customer"`
		EntryCustomerID        int     `json:"entry.customer_id" yaml:"entry.customer_id"`
		EntryDate              string  `json:"entry.date" yaml:"entry.date"`
		EntryDescription       string  `json:"entry.description" yaml:"entry.description"`
		EntryDuration          int     `json:"entry.duration" yaml:"entry.duration"`
		EntryDurationDecimal   string  `json:"entry.duration_decimal" yaml:"entry.duration_decimal"`
		EntryDurationMinutes   int     `json:"entry.duration_minutes" yaml:"entry.duration_minutes"`
		EntryEnd               string  `json:"entry.end" yaml:"entry.end"`
		EntryEndTime           string  `json:"entry.end_time" yaml:"entry.end_time"`
		EntryEndTimestamp      int     `json:"entry.end_timestamp" yaml:"entry.end_timestamp"`
		EntryProject           string  `json:"entry.project" yaml:"entry.project"`
		EntryProjectID         int     `json:"entry.project_id" yaml:"entry.project_id"`
		EntryRate              string  `json:"entry.rate" yaml:"entry.rate"`
		EntryRateInternal      string  `json:"entry.rate_internal" yaml:"entry.rate_internal"`
		EntryRateInternalNc    string  `json:"entry.rate_internal_nc" yaml:"entry.rate_internal_nc"`
		EntryRateInternalPlain float64 `json:"entry.rate_internal_plain" yaml:"entry.rate_internal_plain"`
		EntryRateNc            string  `json:"entry.rate_nc" yaml:"entry.rate_nc"`
		EntryRatePlain         float64 `json:"entry.rate_plain" yaml:"entry.rate_plain"`
		EntryRow               string  `json:"entry.row" yaml:"entry.row"`
		EntryTags              string  `json:"entry.tags" yaml:"entry.tags"`
		EntryTotal             string  `json:"entry.total" yaml:"entry.total"`
		EntryTotalNc           string  `json:"entry.total_nc" yaml:"entry.total_nc"`
		EntryTotalPlain        float64 `json:"entry.total_plain" yaml:"entry.total_plain"`
		EntryType              string  `json:"entry.type" yaml:"entry.type"`
		EntryUserAlias         string  `json:"entry.user_alias" yaml:"entry.user_alias"`
		EntryUserID            int     `json:"entry.user_id" yaml:"entry.user_id"`
		EntryUserName          string  `json:"entry.user_name" yaml:"entry.user_name"`
		EntryUserTitle         string  `json:"entry.user_title" yaml:"entry.user_title"`
		EntryWeek              int     `json:"entry.week" yaml:"entry.week"`
		EntryWeekyear          string  `json:"entry.weekyear" yaml:"entry.weekyear"`
	} `yaml:"items"`
	QueryBegin                      string      `json:"query.begin" yaml:"query.begin"`
	QueryBeginDay                   string      `json:"query.begin_day" yaml:"query.begin_day"`
	QueryBeginMonth                 string      `json:"query.begin_month" yaml:"query.begin_month"`
	QueryBeginMonthNumber           string      `json:"query.begin_month_number" yaml:"query.begin_month_number"`
	QueryBeginYear                  string      `json:"query.begin_year" yaml:"query.begin_year"`
	QueryDay                        string      `json:"query.day" yaml:"query.day"`
	QueryEnd                        string      `json:"query.end" yaml:"query.end"`
	QueryEndDay                     string      `json:"query.end_day" yaml:"query.end_day"`
	QueryEndMonth                   string      `json:"query.end_month" yaml:"query.end_month"`
	QueryEndMonthNumber             string      `json:"query.end_month_number" yaml:"query.end_month_number"`
	QueryEndYear                    string      `json:"query.end_year" yaml:"query.end_year"`
	QueryMonth                      string      `json:"query.month" yaml:"query.month"`
	QueryMonthNumber                string      `json:"query.month_number" yaml:"query.month_number"`
	QueryYear                       string      `json:"query.year" yaml:"query.year"`
	TemplateAddress                 string      `json:"template.address" yaml:"template.address"`
	TemplateCompany                 string      `json:"template.company" yaml:"template.company"`
	TemplateContact                 string      `json:"template.contact" yaml:"template.contact"`
	TemplateDueDays                 int         `json:"template.due_days" yaml:"template.due_days"`
	TemplateName                    string      `json:"template.name" yaml:"template.name"`
	TemplatePaymentDetails          string      `json:"template.payment_details" yaml:"template.payment_details"`
	TemplatePaymentTerms            interface{} `json:"template.payment_terms" yaml:"template.payment_terms"`
	TemplateTitle                   string      `json:"template.title" yaml:"template.title"`
	TemplateVatID                   string      `json:"template.vat_id" yaml:"template.vat_id"`
	UserAlias                       string      `json:"user.alias" yaml:"user.alias"`
	UserEmail                       string      `json:"user.email" yaml:"user.email"`
	UserMetaCalendarInitialView     string      `json:"user.meta.calendar.initial_view" yaml:"user.meta.calendar.initial_view"`
	UserMetaFirstWeekday            string      `json:"user.meta.first_weekday" yaml:"user.meta.first_weekday"`
	UserMetaHourlyRate              string      `json:"user.meta.hourly_rate" yaml:"user.meta.hourly_rate"`
	UserMetaHours24                 bool        `json:"user.meta.hours_24" yaml:"user.meta.hours_24"`
	UserMetaInternalRate            interface{} `json:"user.meta.internal_rate" yaml:"user.meta.internal_rate"`
	UserMetaLanguage                string      `json:"user.meta.language" yaml:"user.meta.language"`
	UserMetaLoginInitialView        string      `json:"user.meta.login.initial_view" yaml:"user.meta.login.initial_view"`
	UserMetaReportingInitialView    string      `json:"user.meta.reporting.initial_view" yaml:"user.meta.reporting.initial_view"`
	UserMetaSkin                    string      `json:"user.meta.skin" yaml:"user.meta.skin"`
	UserMetaThemeCollapsedSidebar   bool        `json:"user.meta.theme.collapsed_sidebar" yaml:"user.meta.theme.collapsed_sidebar"`
	UserMetaThemeLayout             string      `json:"user.meta.theme.layout" yaml:"user.meta.theme.layout"`
	UserMetaThemeUpdateBrowserTitle bool        `json:"user.meta.theme.update_browser_title" yaml:"user.meta.theme.update_browser_title"`
	UserMetaTimesheetDailyStats     bool        `json:"user.meta.timesheet.daily_stats" yaml:"user.meta.timesheet.daily_stats"`
	UserMetaTimesheetExportDecimal  bool        `json:"user.meta.timesheet.export_decimal" yaml:"user.meta.timesheet.export_decimal"`
	UserMetaTimezone                string      `json:"user.meta.timezone" yaml:"user.meta.timezone"`
	UserName                        string      `json:"user.name" yaml:"user.name"`
	UserTitle                       string      `json:"user.title" yaml:"user.title"`
}

Jump to

Keyboard shortcuts

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