コード例 #1
0
ファイル: settings.py プロジェクト: moyaproject/moya
    def __moyaconsole__(self, console):
        from console import Cell

        table = [(Cell("key", bold=True), Cell("value", bold=True))]
        console.table(table)
コード例 #2
0
ファイル: settings.py プロジェクト: moyaproject/moya
    def __moyaconsole__(self, console):
        from console import Cell

        table = [(Cell("key", bold=True), Cell("value", bold=True))]
        table += sorted(self.items())
        console.table(table)