<commit_before>///<reference path="../../.d.ts"/>
"use strict";

export class DevConfigApplyCommand implements ICommand {
	constructor(private $config: IConfiguration,
		private $stringParameterBuilder: IStringParameterBuilder) { }

	public allowedParameters: ICommandParameter[] = [this.$stringParameterBuilder.createMandatoryParameter("Specify dev environment to be applied")];
	public disableAnalytics = true;

	public execute(args: string[]): IFuture<void> {
		return this.$config.apply(args[0]);
	}
}
$injector.registerCommand("dev-config-apply", DevConfigApplyCommand);<commit_msg>LowerCase the parameter passed to $ dev-config-apply<commit_after>///<reference path="../../.d.ts"/>
"use strict";

export class DevConfigApplyCommand implements ICommand {
	constructor(private $config: IConfiguration,
		private $stringParameterBuilder: IStringParameterBuilder) { }

	public allowedParameters: ICommandParameter[] = [this.$stringParameterBuilder.createMandatoryParameter("Specify dev environment to be applied")];
	public disableAnalytics = true;

	public execute(args: string[]): IFuture<void> {
		return this.$config.apply(args[0].toLowerCase());
	}
}
$injector.registerCommand("dev-config-apply", DevConfigApplyCommand);
{'fraction_non_alphanumeric': 0.13202933985330073, 'fraction_numerical': 0.0016299918500407497, 'mean_word_length': 6.871794871794871, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5302722', 'n_tokens_mistral': 333, 'n_tokens_neox': 327, 'n_words': 74}