napkin
napkin copied to clipboard
Does not support click library
AttributeError: 'NoneType' object has no attribute '__click_params__'
from this hello world example:
import click
import napkin
@click.command()
@click.option(
"--cache_dir",
"-cd",
type=click.Path(
exists=True, file_okay=False, dir_okay=True, path_type=str, writable=True
),
)
@napkin.seq_diagram()
def hello_world(c):
user = c.object('user')
world = c.object('world')
with user:
world.hello()
if __name__ == "__main__":
hello_world()