Commit Graph

4 Commits (fab33e3ed1d3563a9fe1f436151ef8acfd00b887)

Author SHA1 Message Date
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
1138-4EB 7c09473312 chore(gometalinter): exclude vendor
Former-commit-id: 8e99e3c0802a1f8acbed90047f0143789da771ad [formerly 94a11f954bdbdb4f295ecfb53ed786241a2a7fb5] [formerly 165c7ed873e40b703e3c910678479212f5f78fec [formerly 65ea97b32e]]
Former-commit-id: b144f646b8808e500209056d35994f4b9cb60773 [formerly 964ce718e4661dd15d3a7311637d4105d381b320]
Former-commit-id: ffc4f157a492490b95df3849d52218ae142581fc
2018-08-07 12:31:27 +01:00
1138-4EB b6a8472722 fix: use './...' when running gometalinter
Former-commit-id: a3f2c975184928b042e09a42a2006c54fc3c9026 [formerly 3f80e808255c869732bc31f981f3a9256f151cc7] [formerly facb7e61332d3fb6fb18e5ac36771141474935c8 [formerly 69f11ed80b]]
Former-commit-id: fd86fb79039c33f22aaf05ca7023c74ad8d0036b [formerly 990a472cde58a891c01d673e1b1fb570b07868f1]
Former-commit-id: 887b84b6134135b268d4aa82d9c65990fc7d86c9
2018-08-07 12:04:43 +01:00
1138-4EB f1e5cd490e add gometalinter and goreleaser to travis, drop circleci
Former-commit-id: dc44ea15987447b0f179bb2011c000f6d7224898 [formerly 3192a7ad777c6ff93fdd0d62a1d9f4c466c5b06e] [formerly 5bb95d586cf0dbf48355142fe17dfa8d162923c5 [formerly de7a8cee60]]
Former-commit-id: 129d25ece6e5ad704f3ef98bc4a59db70d0c9e10 [formerly f51552b629dbd69810e51142c9a66ab708d96d39]
Former-commit-id: 39d64538f9edcb5933c5cff8904f86691bf75ed3
2018-08-06 05:01:25 +01:00