Commit Graph

5 Commits

Author SHA1 Message Date
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 43ab4fa3de chore: fix rice-box import with sed in push_ricebox 2018-08-16 10:12:33 +01:00
1138-4EB 7afaf59e5d
chore: fix author in push_rice (#514) 2018-08-16 09:56:06 +01:00
Henrique Dias 4470e0b450 fix: error at first sign
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2018-08-06 20:53:48 +01:00
1138-4EB 6f7fded3f1 update ricebox in caddy/assets 2018-08-06 20:08:56 +01:00