<commit_before># -*- coding: utf-8 -*-

import click
from commands.account import account_group
from commands.base_request import CONTEXT_SETTINGS

import os


def config_file(file):
	"""
	create configuration file
	"""
	value = click.prompt('Enter digital ocean access token', type=str)
	f = open(file, 'w')
	f.write('[docli]\nauth_token='+value)
	f.close()
	click.echo()
	click.echo("configuration completed.")


@click.command(cls=click.CommandCollection, sources=[account_group], context_settings=CONTEXT_SETTINGS, invoke_without_command=True, no_args_is_help=True)<commit_msg>fixed docli command for passing command list<commit_after># -*- coding: utf-8 -*-

import click
from commands.account import account_group
from commands.actions import actions_group
from commands.base_request import CONTEXT_SETTINGS

import os

sources_list = [account_group, actions_group]

def config_file(file):
	"""
	create configuration file
	"""
	value = click.prompt('Enter digital ocean access token', type=str)
	f = open(file, 'w')
	f.write('[docli]\nauth_token='+value)
	f.close()
	click.echo()
	click.echo("configuration completed.")


@click.command(cls=click.CommandCollection, sources=sources_list, context_settings=CONTEXT_SETTINGS, invoke_without_command=True, no_args_is_help=True)
{'fraction_non_alphanumeric': 0.11962470680218922, 'fraction_numerical': 0.001563721657544957, 'mean_word_length': 6.619047619047619, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5345025', 'n_tokens_mistral': 399, 'n_tokens_neox': 398, 'n_words': 92}