build/lib/lottie_animation_manager/__main__.py
def main_menu():
	'''
		Main Screen of the Lottie Animation Manager Command line utility.  Choose from a menu of options!
	'''
	# Clear screen
	click.clear()
	# Quick "Up top logo"
	click.echo(click.style("--------------------------------------------------------\n", fg='bright_green'))
	click.echo(click.style(f.renderText("Lottie CDN"), fg='bright_green'))
	click.echo(click.style("--------------------------------------------------------", fg='bright_green'))
	# Welcome and project description
	click.echo(click.style(emoji.emojize('Thanks for using Lottie Animation Manager :thumbs_up:'), fg='bright_green'))
	click.echo(click.style("Lottie Animation Manager makes it easy to manage, compress, and upload Lottie assets to a CDN. \n", fg='bright_green'))
	# Main menu with 3 options
	click.echo(click.style("Choose an option below to get started: ", bold=True))
	click.echo(click.style("1) Create a New Animation / Upload Current Directory", fg='bright_cyan'))
	click.echo(click.style("2) List Hosted Animations", fg='bright_cyan'))
	click.echo(click.style("3) Exit Lottie Animation Manager", fg='bright_cyan'))

	# Ask the user what menu option they want
	menu_choice = click.prompt('Please enter a value between 1-3', type=int)
	
	# Option 2: Create a new animation ie. upload the current working directory
	if(menu_choice == 1):
		upload_current_lottie_directory()
	elif(menu_choice == 2):
		list_hosted_animations()
	elif(menu_choice == 3):
		click.echo(click.style(emoji.emojize("Thanks for using Lottie Animation Manager, have a nice day :sun: \n"), fg='bright_green'))
		click.Abort()
	else:
		click.echo(click.style("Please enter a valid menu choice number.", fg="red"))

		Main Screen of the Lottie Animation Manager Command line utility.  Choose from a menu of options!
	
Main Screen of the Lottie Animation Manager Command line utility.  Choose from a menu of options!
Main Screen of the Lottie Animation Manager Command line utility . Choose from a menu of options!
def main_menu():
	click.clear()
	click.echo(click.style("--------------------------------------------------------\n", fg='bright_green'))
	click.echo(click.style(f.renderText("Lottie CDN"), fg='bright_green'))
	click.echo(click.style("--------------------------------------------------------", fg='bright_green'))
	click.echo(click.style(emoji.emojize('Thanks for using Lottie Animation Manager :thumbs_up:'), fg='bright_green'))
	click.echo(click.style("Lottie Animation Manager makes it easy to manage, compress, and upload Lottie assets to a CDN. \n", fg='bright_green'))
	click.echo(click.style("Choose an option below to get started: ", bold=True))
	click.echo(click.style("1) Create a New Animation / Upload Current Directory", fg='bright_cyan'))
	click.echo(click.style("2) List Hosted Animations", fg='bright_cyan'))
	click.echo(click.style("3) Exit Lottie Animation Manager", fg='bright_cyan'))
	menu_choice = click.prompt('Please enter a value between 1-3', type=int)
	if(menu_choice == 1):
		upload_current_lottie_directory()
	elif(menu_choice == 2):
		list_hosted_animations()
	elif(menu_choice == 3):
		click.echo(click.style(emoji.emojize("Thanks for using Lottie Animation Manager, have a nice day :sun: \n"), fg='bright_green'))
		click.Abort()
	else:
		click.echo(click.style("Please enter a valid menu choice number.", fg="red"))
def main_menu ( ) : click . clear ( ) click . echo ( click . style ( "--------------------------------------------------------\n" , fg = 'bright_green' ) ) click . echo ( click . style ( f . renderText ( "Lottie CDN" ) , fg = 'bright_green' ) ) click . echo ( click . style ( "--------------------------------------------------------" , fg = 'bright_green' ) ) click . echo ( click . style ( emoji . emojize ( 'Thanks for using Lottie Animation Manager :thumbs_up:' ) , fg = 'bright_green' ) ) click . echo ( click . style ( "Lottie Animation Manager makes it easy to manage, compress, and upload Lottie assets to a CDN. \n" , fg = 'bright_green' ) ) click . echo ( click . style ( "Choose an option below to get started: " , bold = True ) ) click . echo ( click . style ( "1) Create a New Animation / Upload Current Directory" , fg = 'bright_cyan' ) ) click . echo ( click . style ( "2) List Hosted Animations" , fg = 'bright_cyan' ) ) click . echo ( click . style ( "3) Exit Lottie Animation Manager" , fg = 'bright_cyan' ) ) menu_choice = click . prompt ( 'Please enter a value between 1-3' , type = int ) if ( menu_choice == 1 ) : upload_current_lottie_directory ( ) elif ( menu_choice == 2 ) : list_hosted_animations ( ) elif ( menu_choice == 3 ) : click . echo ( click . style ( emoji . emojize ( "Thanks for using Lottie Animation Manager, have a nice day :sun: \n" ) , fg = 'bright_green' ) ) click . Abort ( ) else : click . echo ( click . style ( "Please enter a valid menu choice number." , fg = "red" ) )
Main Screen of the Lottie Animation Manager Command line utility.
Main Screen of the Lottie Animation Manager Command line utility .
'''
		Main Screen of the Lottie Animation Manager Command line utility.  Choose from a menu of options!
	''' # Clear screen # Quick "Up top logo" # Welcome and project description # Main menu with 3 options # Ask the user what menu option they want # Option 2: Create a new animation ie. upload the current working directory