Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion psilo/cli.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import typer
from dataset.cli import app as dataset_app
from methods.cli import app as methods_app

app = typer.Typer(no_args_is_help=True, add_completion=False)
app.add_typer(dataset_app, name="dataset")

app.add_typer(methods_app, name="methods")

def main():
app()
Empty file added psilo/methods/__init__.py
Empty file.
16 changes: 16 additions & 0 deletions psilo/methods/cli.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import typer
from loguru import logger

app = typer.Typer(help="PsiloQA Methods Pipeline")

@app.command("uncertainty")
def uncertainty():
logger.info("uncertainty cli")

@app.command("encoder_train")
def encoder_train():
...

@app.command("encoder_eval")
def encoder_eval():
...
Empty file.
Empty file.