17 lines
387 B
Python
17 lines
387 B
Python
|
|
"""Note List"""
|
||
|
|
import argparse
|
||
|
|
from trovedb.cli import CliEnv
|
||
|
|
|
||
|
|
def setup(parser: argparse.ArgumentParser) -> None:
|
||
|
|
"""Configure this subcommand's arguments."""
|
||
|
|
pass
|
||
|
|
|
||
|
|
def run(env: CliEnv, args: argparse.Namespace) -> None:
|
||
|
|
"""Entry point when this subcommand is invoked."""
|
||
|
|
|
||
|
|
trove = env.checked_trove()
|
||
|
|
for entry in trove.get_root().entries():
|
||
|
|
print(entry)
|
||
|
|
|
||
|
|
|