Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CharSet = &cli.Command{ Name: "charset", Usage: "Change charset to html cod", Description: `change key in map to value`, Action: runCharSet, Flags: []cli.Flag{ stringFlag("ext, e", strings.Join(settings.ExtFile, ","), "Define the extension type to filter files"), stringFlag("file, f", settings.FileName, "Define the file name that needs to change."), stringFlag("dir, d", settings.Dir, "Define the folder that will looking for files."), boolFlag("backup, b", "Disable backup file when change charset"), stringFlag("backupName, bn", settings.BackupName, "Define the file name that needs to change."), }, }
CharSet is the main command for application define information about the program as parameters
View Source
var Recovery = &cli.Command{ Name: "recovery", Usage: "recovery backup", Description: `restore backup files and overwride the file wripped.`, Action: runRecovery, Flags: []cli.Flag{ stringFlag("dir, d", settings.Dir, "Define the folder that will looking for backup's file."), stringFlag("backupName, bn", settings.BackupName, "Search files name with extension backup c7."), boolFlag("remove, r", "Delete the backup file when finish."), }, }
Recovery is command for recovery any data transformed for application
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.