# fgn/core/commands/lts/lts_cmd.py
from pathlib import Path

import click

from fgn.core.default_sub_cmd import default_sub_cmd

cmd_name = Path(__file__).stem.split("_")[0]


@click.command()
@click.argument("text", required=False, default="")
@click.pass_context
def cli(ctx: click.Context, text) -> None:
    """Let's think step by step how to do this."""
    ctx.obj.text = text + "\n\nLet's think step by step how to do this:\n```prompt"
    default_sub_cmd(ctx, cmd_name)
