modules: Improve "hugo mod clean"
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 19 Feb 2020 15:59:54 +0000 (16:59 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 19 Feb 2020 16:14:35 +0000 (17:14 +0100)
commitdce210ab56fc885818fc5d1a084a1c3ba84e7929
tree538afbc8dfc1ed805c874f53248e25b506ebf6cc
parent0b96aba022d51cf9939605c029bb8dba806653a1
modules: Improve "hugo mod clean"

* Only clean project modules
* Optional glob pattern of module paths to clean

Closes #6907
commands/mod.go
hugofs/fs.go
modules/client.go