<filename>zairachem/cli/commands/describe.py<gh_stars>0
import click

from . import zairachem_cli
from ..echo import echo
from ...descriptors.describe import Describer


def describe_cmd():
    @zairachem_cli.command(help="Calculate descriptors and normalize them")
    @click.option("--dir", "-d", default=None, type=click.STRING)
    def describe(dir):
        echo("Calculating descriptors")
        desc = Describer(path=dir)
        desc.run()
        echo("Done", fg="green")

<filename>zairachem/cli/commands/describe.py<gh_stars>0
import click

from . import zairachem_cli
from ..echo import echo
from ...descriptors.describe import Describer


def describe_cmd():
    @zairachem_cli.command(help="Calculate descriptors and normalize them")
    @click.option("--dir", "-d", default=None, type=click.STRING)
    def describe(dir):
        echo("Calculating descriptors")
        desc = Describer(path=dir)
        desc.run()
        echo("Done", fg="green")
