chore: updated README with upload examples
This commit is contained in:
parent
c495d10aad
commit
afc7db53e1
1 changed files with 24 additions and 3 deletions
27
README.md
27
README.md
|
|
@ -92,9 +92,30 @@ makeshift download profile default
|
|||
(WIP) Files, directories, profiles, and plugins will eventually be able to be uploaded to the server.
|
||||
|
||||
```bash
|
||||
# upload a file or directory (recursively)
|
||||
makeshift upload
|
||||
makeshift upload --host http://localhost:5050 --path help.txt
|
||||
# upload a single file in root directory
|
||||
makeshift upload -d @compute-base.yaml
|
||||
|
||||
# upload a directory (not working yet...)
|
||||
makeshift upload -d @setup/
|
||||
|
||||
# upload an archive (extracted and saved on server - not working yet...)
|
||||
makeshift upload -d @setup.tar.gz -t archive
|
||||
|
||||
# upload a new profile with a specific path (used to set remote location)
|
||||
makeshift upload profile -d @kubernetes.json -p nodes/kubernetes.json
|
||||
makeshift upload profile -d @slurm.json -@compute.json -p nodes
|
||||
|
||||
# upload a new profile
|
||||
makeshift upload profile -d @compute.json
|
||||
|
||||
# upload a new profile with a specific path (used for lookup)
|
||||
makeshift upload profile -d @kubernetes.json -n k8s
|
||||
|
||||
# upload a new plugin
|
||||
makeshift upload plugin -d @slurm.so
|
||||
|
||||
# upload a new plugin with a specific name (used for lookups)
|
||||
makeshift upload plugin -d @cobbler.so -n merge
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue