mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
commit
d875dd4bd3
1 changed files with 10 additions and 0 deletions
10
docs/CLI.md
10
docs/CLI.md
|
|
@ -283,6 +283,11 @@ $ cd tufrepo/
|
|||
$ python -m SimpleHTTPServer 8001
|
||||
```
|
||||
|
||||
If running python 3:
|
||||
```Bash
|
||||
$ python3 -m http.server 8001
|
||||
```
|
||||
|
||||
```Bash
|
||||
Step (4)
|
||||
$ client.py --repo http://localhost:8001 README.txt
|
||||
|
|
@ -411,6 +416,11 @@ $ cd tufrepo/
|
|||
$ python -m SimpleHTTPServer 8001
|
||||
```
|
||||
|
||||
If running python 3:
|
||||
```Bash
|
||||
$ python3 -m http.server 8001
|
||||
```
|
||||
|
||||
Fetch the role x's README.txt
|
||||
```Bash
|
||||
$ client.py --repo http://localhost:8001 README.txt
|
||||
|
|
|
|||
Loading…
Reference in a new issue