mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
feat: update description of vision save command
This commit is contained in:
parent
fd4519ec0b
commit
086d63deee
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ var visionSaveFlags = []cli.Flag{
|
||||||
// VisionSaveCommand writes the model configuration to vision.yml.
|
// VisionSaveCommand writes the model configuration to vision.yml.
|
||||||
var VisionSaveCommand = &cli.Command{
|
var VisionSaveCommand = &cli.Command{
|
||||||
Name: "save",
|
Name: "save",
|
||||||
Usage: "Saves the current model configuration to the vision.yml file",
|
Usage: "Create a vision.yml file with the default configuration, if it doesn't exist yet",
|
||||||
Flags: visionSaveFlags,
|
Flags: visionSaveFlags,
|
||||||
Action: visionSaveAction,
|
Action: visionSaveAction,
|
||||||
}
|
}
|
||||||
|
|
@ -41,4 +41,4 @@ func visionSaveAction(ctx *cli.Context) error {
|
||||||
|
|
||||||
return vision.Config.Save(fileName)
|
return vision.Config.Save(fileName)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue