Comming back
This commit is contained in:
parent
8f1d12ed17
commit
217cde0bad
|
@ -7,6 +7,12 @@ from datetime import timedelta
|
|||
from uniplot import plot_to_string
|
||||
|
||||
|
||||
"""
|
||||
TODO:
|
||||
sample() to common.py as sample_loop() for --items
|
||||
full_loop() for --all
|
||||
"""
|
||||
|
||||
class Analizer:
|
||||
def __init__(self, jsonl, sample_len, keys, ky, out_dir, debug, quiet):
|
||||
self.start_time = time.process_time()
|
||||
|
|
|
@ -4,6 +4,11 @@ from colligere.analizer import Analizer
|
|||
|
||||
|
||||
def parse(args=None):
|
||||
"""
|
||||
TODO:
|
||||
--items as global parameter
|
||||
--all overrides --items
|
||||
"""
|
||||
parser = argparse.ArgumentParser(
|
||||
prog="colligere",
|
||||
description="Tool for metadata in JSON Lines.",
|
||||
|
|
|
@ -19,6 +19,10 @@ def test_helps(capsys):
|
|||
["-h"],
|
||||
["analize", "-h"],
|
||||
]
|
||||
"""
|
||||
TODO:
|
||||
filter, search, set ops
|
||||
"""
|
||||
for args in cmds:
|
||||
assert_out(capsys, "usage:", *args)
|
||||
|
||||
|
|
Reference in a new issue