Commit Graph

5 Commits

Author SHA1 Message Date
1138-4EB 4945635bd6
add go mod support (#586) 2018-12-26 00:48:43 +01:00
1138-4EB 0c53f06c64 chore(version): set CLI version from lib 2018-08-22 13:15:55 +01:00
1138-4EB 69a3f853bd feat: use cobra to provide subcommands, move sources to lib (#506)
- Use cobra in order to provide subcommands `serve` and `db`.
  - Subdir `cmd` is removed.
  - Subdir `cli` is created, which is a standard cobra structure.
- Sources related to the core are moved to subdir `lib`.
- #497 and #504 are merged.
- Deprecated flags are added. See https://github.com/filebrowser/filebrowser/pull/497#discussion_r209428120.
- [`viper.BindPFlags`](https://godoc.org/github.com/spf13/viper#BindPFlags) is used in order to reduce the verbosity in `serve.go`.
2018-08-22 01:29:51 +01:00
1138-4EB b1eb90767d
chore: use commit SHA as version if not release (#505) 2018-08-20 10:41:06 +01:00
1138-4EB 703318c214 add travis 2018-08-06 05:01:16 +01:00