chore: updated README with upload examples

This commit is contained in:
David Allen 2025-08-31 00:20:23 -06:00
parent c495d10aad
commit afc7db53e1
Signed by: towk
GPG key ID: 0430CDBE22619155

View file

@ -92,9 +92,30 @@ makeshift download profile default
(WIP) Files, directories, profiles, and plugins will eventually be able to be uploaded to the server. (WIP) Files, directories, profiles, and plugins will eventually be able to be uploaded to the server.
```bash ```bash
# upload a file or directory (recursively) # upload a single file in root directory
makeshift upload makeshift upload -d @compute-base.yaml
makeshift upload --host http://localhost:5050 --path help.txt
# 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] > [!NOTE]