Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RegisterInitLocalStorage = &cobra.Command{ Use: "init", Short: "Init local storage", Long: ` This command register init sqlite db for storaging private data. Usage: gophkeeperclient init`, Run: func(cmd *cobra.Command, args []string) { usecase.GetClientUseCase().InitDB() }, }
View Source
var ShowVault = &cobra.Command{ Use: "showvault", Short: "Show user vault", Long: ` This command show user vault Usage: showvault -o \"a|c|l|n\" Flags: -o, --option string Option for listing (default "a") a - all c - cards l - logins n - notes b - bynaries -p, --password string User password value.`, Run: func(cmd *cobra.Command, args []string) { usecase.GetClientUseCase().ShowVault(userPassword, showVaultOption) }, }
View Source
var SyncUserData = &cobra.Command{ Use: "sync", Short: "Sync user`s data", Long: ` This command update users private data from server Usage: gophkeeperclient sync -p \"user_password\"`, Run: func(cmd *cobra.Command, args []string) { usecase.GetClientUseCase().Sync(userPassword) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.