| 1 | package commands |
| 2 | |
| 3 | import ( |
| 4 | "os" |
| 5 | |
| 6 | "github.com/git-lfs/git-lfs/v3/lfshttp/standalone" |
| 7 | "github.com/spf13/cobra" |
| 8 | ) |
| 9 | |
| 10 | func standaloneFileCommand(cmd *cobra.Command, args []string) { |
| 11 | err := standalone.ProcessStandaloneData(cfg, os.Stdin, os.Stdout) |
| 12 | if err != nil { |
| 13 | ExitWithError(err) |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | func init() { |
| 18 | RegisterCommand("standalone-file", standaloneFileCommand, nil) |
| 19 | } |