Skip to content

Commit 894c1a7

Browse files
committed
Output commands in ordered list
1 parent d89d0d1 commit 894c1a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flask_script/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import types
88
import warnings
99
from gettext import gettext as _
10+
from collecions import OrderedDict
1011

1112
import argparse
1213

@@ -77,7 +78,7 @@ def __init__(self, app=None, with_default_commands=None, usage=None,
7778

7879
self.app = app
7980

80-
self._commands = dict()
81+
self._commands = OrderedDict()
8182
self._options = list()
8283

8384
self.usage = usage

0 commit comments

Comments
 (0)