mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-05 03:35:51 +00:00
16 lines
344 B
Python
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))
|