Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddNote = &cobra.Command{ Use: "addnote", Short: "Add note", Long: ` This command add user note Usage: addnote -p \"user_password\" Flags: -h, --help help for addlogin -p, --password string User password value. -n, --note string User note --meta Add meta data for entiry example: --meta'[{"name":"some_meta","value":"some_meta_value"},{"name":"some_meta2","value":"some_meta_value2"}]' `, Run: func(cmd *cobra.Command, args []string) { usecase.GetClientUseCase().AddNote(userPassword, ¬eForAdditing) }, }
View Source
var DelNote = &cobra.Command{ Use: "delnote", Short: "Delete user note by id", Long: ` This command remove note Usage: delnote -i \"note_id\" Flags: -i, --id string Card id -p, --password string User password value.`, Run: func(cmd *cobra.Command, args []string) { usecase.GetClientUseCase().DelNote(userPassword, delNoteID) }, }
View Source
var GetNote = &cobra.Command{ Use: "getnote", Short: "Show user note by id", Long: ` This command show user note Usage: getnote -i \"note_id\" Flags: -i, --id string Note id -p, --password string User password value.`, Run: func(cmd *cobra.Command, args []string) { usecase.GetClientUseCase().ShowNote(userPassword, getNoteID) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.