chore: updated examples in README and cmd
This commit is contained in:
parent
c9f40e3857
commit
c799dc7838
2 changed files with 7 additions and 14 deletions
17
README.md
17
README.md
|
|
@ -101,21 +101,16 @@ makeshift download profile default
|
|||
# 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 -d @compute.json -p nodes
|
||||
# upload a new profile
|
||||
makeshift upload profile -d @compute.json kubernetes.json
|
||||
|
||||
# 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 profile with a specific path
|
||||
makeshift upload profile -d @kubernetes.json
|
||||
makeshift upload profile -d '{"id": "custom", "data": {}}' kubernetes.json
|
||||
|
||||
# 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
|
||||
makeshift upload plugin slurm.so
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
|
|
|
|||
|
|
@ -152,9 +152,7 @@ var uploadPluginsCmd = &cobra.Command{
|
|||
Example: `
|
||||
# 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
|
||||
makeshift upload plugin slurm.so
|
||||
`,
|
||||
Args: cobra.ExactArgs(1),
|
||||
Short: "Upload a new plugin",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue