From a722d7875b88bfb16a452c5d1f9cbcb9aeef1e5a Mon Sep 17 00:00:00 2001 From: Grey Li Date: Tue, 1 Aug 2017 16:26:30 +0800 Subject: [PATCH] register clean command to default commands --- flask/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/flask/cli.py b/flask/cli.py index 13576a5f..1921ed1c 100644 --- a/flask/cli.py +++ b/flask/cli.py @@ -429,6 +429,7 @@ class FlaskGroup(AppGroup): self.add_command(run_command) self.add_command(shell_command) self.add_command(routes_command) + self.add_command(clean_command) self._loaded_plugin_commands = False