| 1 |
package main |
| 2 |
|
| 3 |
import ( |
| 4 |
"log" |
| 5 |
|
| 6 |
"github.com/flynn/go-docopt" |
| 7 |
"github.com/theupdateframework/go-tuf" |
| 8 |
) |
| 9 |
|
| 10 |
func init() { |
| 11 |
register("regenerate", cmdRegenerate, ` |
| 12 |
usage: tuf regenerate [--consistent-snapshot=false] |
| 13 |
|
| 14 |
Recreate the targets metadata file. Important: Not supported yet |
| 15 |
|
| 16 |
Alternatively, passphrases can be set via environment variables in the |
| 17 |
form of TUF_{{ROLE}}_PASSPHRASE |
| 18 |
`) |
| 19 |
} |
| 20 |
|
| 21 |
func cmdRegenerate(args *docopt.Args, repo *tuf.Repo) error { |
| 22 |
// TODO: implement this |
| 23 |
log.Println("Not supported yet") |
| 24 |
return nil |
| 25 |
} |