PosixfsCommand is the entrypoint for the posixfs command.
(cfg *config.Config)
| 55 | |
| 56 | // PosixfsCommand is the entrypoint for the posixfs command. |
| 57 | func PosixfsCommand(cfg *config.Config) *cobra.Command { |
| 58 | posixCmd := &cobra.Command{ |
| 59 | Use: "posixfs", |
| 60 | Short: `cli tools to inspect and manipulate a posixfs storage.`, |
| 61 | GroupID: CommandGroupStorage, |
| 62 | } |
| 63 | |
| 64 | posixCmd.AddCommand(consistencyCmd(cfg)) |
| 65 | posixCmd.AddCommand(scanCmd(cfg)) |
| 66 | |
| 67 | return posixCmd |
| 68 | } |
| 69 | |
| 70 | func init() { |
| 71 | register.AddCommand(PosixfsCommand) |
nothing calls this directly
no test coverage detected