Skip to content

Commit

Permalink
update CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sasatani committed Dec 6, 2024
1 parent 1eb6688 commit 9daf35e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions miniscope_io/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import click

from miniscope_io.cli.process import denoise
from miniscope_io.cli.process import process
from miniscope_io.cli.stream import stream
from miniscope_io.cli.update import device, update

Expand All @@ -22,4 +22,4 @@ def cli(ctx: click.Context) -> None:
cli.add_command(stream)
cli.add_command(update)
cli.add_command(device)
cli.add_command(denoise)
cli.add_command(process)
14 changes: 11 additions & 3 deletions miniscope_io/cli/process.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
"""
Command line interface for
Command line interface for offline video pre-processing.
"""

import click

from miniscope_io.processing.video import VideoProcessor
from miniscope_io.process.video import VideoProcessor


@click.command()
@click.group()
def process() -> None:
"""
Command group for video processing.
"""
pass


@process.command()
@click.option(
"-i",
"--input",
Expand Down

0 comments on commit 9daf35e

Please sign in to comment.