File size: 322 Bytes
2fdce3c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import typer

cli = typer.Typer()


@cli.callback()
def callback():
    """
    Awesome Portal Gun
    """


@cli.command()
def shoot():
    """
    Shoot the portal gun
    """
    typer.echo("Shooting portal gun")


@cli.command()
def load():
    """
    Load the portal gun
    """
    typer.echo("Loading portal gun")