Skip to content

Commit

Permalink
updated cli docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hitblast committed Mar 30, 2024
1 parent a80b212 commit b451289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avro/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ def main():
def cli():
pass

# Define the command.
# usage: avro parse <text>
@cli.command('parse', help='Parse a given text to Bangla.')
@click.argument('text')
def _parse(text: str):
click.echo(avro.parse(text))

# Define another command.
# usage: avro reverse <text>
@cli.command('reverse', help='Reverse a given text to English.')
@click.argument('text')
def _reverse(text: str):
Expand Down

0 comments on commit b451289

Please sign in to comment.