python-tuf/docs/CLI.md
Vladimir Diaz 075dc3de28
Add CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-26 11:16:48 -05:00

788 B

CLI examples

Note: This is a work in progress. Only examples are given here, for now.

Create a TUF repository.

Examples:

Create a TUF repository in the current working directory. A cryptographic key is created and set for each top-level role. The Targets role does not sign for any targets nor does it delegate trust to any roles.

$ repo.py --init

Create a TUF repository at ./repo.

$ repo.py --init repo/

Create a TUF repository in the current working directory. A cryptographic key is not created nor set for each top-level role.

$ repo.py --init --bare

Create a TUF repository with consistent snapshots enabled. If enabled, all target filenames have their hash prepeneded.

$ repo.py --init --consistent_snapshots