@click.command(cls=click.CommandCollection, sources=sources_list, context_settings=CONTEXT_SETTINGS, invoke_without_command=True, no_args_is_help=True)
@click.option('-c', '--configure', is_flag=True, help='configure digital ocean access token')
@click.version_option(version=1.0, message=('Digital Ocean command line interface. \n%(prog)s, version %(version)s, by Yogesh panchal, yspanchal@gmail.com'))
def docli(configure):
	if configure:
		file = os.path.expanduser('~/.do.cfg')
		if not os.path.isfile(file):
			config_file(file)
		else:
			value = click.prompt('Do you want to reconfigure docli [y/n] ?', type=str, default='n')
			if value.lower() == 'y':
				reconfigure = True
				config_file(file, reconfigure)
			else:
				click.echo()
				click.echo('done..!!!')
'docli' is Digital Ocean command line interfaces
dataset/ETHPy150Open yspanchal/docli/docli/main.py/docli