Long:`The update command updates a scheme manager within an irma_configuration folder by comparing its index with the online version, and downloading any new and changed files.
Careful: this command could fail and invalidate or destroy your scheme manager folder! Use this only if you can restore it from git or backups.`,
RunE:func(cmd*cobra.Command,args[]string)error{
returnupdateSchemeManager(args)
},
}
funcinit(){
RootCmd.AddCommand(updateCmd)
}
funcupdateSchemeManager(paths[]string)error{
// Before doing anything, first check that all paths are scheme managers