saysynth.cli.commands.version
Print the current version of saysynth
to the console.
1""" 2Print the current version of `saysynth` to the console. 3""" 4import click 5 6from saysynth.cli.colors import blue, green, red, yellow 7from saysynth.version import VERSION 8 9 10@click.command() 11def cli(): 12 """ 13 Print the current version of `saysynth` to the console. 14 """ 15 click.echo( 16 f"➡️ {green('saysynth')} ({red('sy')}) {yellow('version:')} {blue(VERSION)}", 17 err=True, 18 )
cli = <Command cli>
Print the current version of saysynth
to the console.