Commit Graph

4 Commits (74e93b8df0b46096e81883b687db4197d54bd410)

Author SHA1 Message Date
1138-4EB 7e3a15e073 chore: update frontend
Former-commit-id: 701a87afa3c7a8c7dfd15458fe2c23c2ebffa322 [formerly 743b8fcd60467068ce0bbc7129a6481d3feb740b] [formerly 4f705a9a56af47da1c06cc6e7ce779890dedb7e2 [formerly 43707a68cf]]
Former-commit-id: a856ab9ac4e6e3d2716997e0ef0ad5b62eb55cbc [formerly 21503f038fba99e7ec45fbf9a6de455fe860b009]
Former-commit-id: b3cde7867cd25d02a95a802761aa9956f15ddd58
2018-08-24 00:24:38 +01:00
1138-4EB 679b0f0f4e chore(version): set CLI version from lib
Former-commit-id: 687a0a5f65c1e246110f11832a74aff227aea9b1 [formerly 6066fdbdd709de04a8362868084f70fb04a24c66] [formerly c29860d9846fe01aadffd393753265294749fc3f [formerly 0c53f06c64]]
Former-commit-id: cc10a50da0a49f97455a59a7e6e8145460168407 [formerly ea1aae8d790840e5ac7e86556f59316b476b1218]
Former-commit-id: ccc7c07a75dffcd5306a537bef2a5dce8a8f6051
2018-08-22 13:15:55 +01:00
1138-4EB a92d7aab8e chore: add version to subcmds
Former-commit-id: a08e327cccff4586578c71b6278b46c9d802f4dc [formerly 0b5e200ece501efd62b80c11f03518f5aac11c87] [formerly defeb96bda2355d30a5fd0d9e6a3b6c427b170b2 [formerly d5fcb555cb]]
Former-commit-id: bf7ccdb941b150562153ba61609db38922191b97 [formerly d6250e9ca18bd318f0fdf742fc32e0404998e2f3]
Former-commit-id: 867dec4689e6ed85b29c6501e37da85801783281
2018-08-22 12:30:55 +01:00
1138-4EB 0536d8342c 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`.


Former-commit-id: 4b37ad82e91e01f7718cd389469814674bdf7032 [formerly c84d7fcf9c362b2aa1f9e5b57196152f53835e61] [formerly 2fef43c0382f3cc7d13e0297ccb467e38fac6982 [formerly 69a3f853bd]]
Former-commit-id: 2f7dc1b8ee6735382cedae2053f40c546c21de45 [formerly b438417178b47ad5f7caf9cb728f4a5011a09f5e]
Former-commit-id: 07bc58ab2e1ab10c30be8d0a5e760288bfc4d4dc
2018-08-22 01:29:51 +01:00