Files
rippled/bin/python/ripple/ledger/commands/Print.py
2015-05-28 07:22:33 -07:00

16 lines
344 B
Python

from __future__ import absolute_import, division, print_function, unicode_literals
from ripple.ledger.Args import ARGS
from ripple.ledger import SearchLedgers
import json
SAFE = True
HELP = """print
Print the ledgers to stdout. The default command."""
def run_print(server):
ARGS.display(print, server, SearchLedgers.search(server))