|
1 | 1 | use crate::{ |
| 2 | + CliPlugin, WitOptions, |
2 | 3 | js_config::{ConfigSchema, JsConfig}, |
3 | 4 | option::OptionMeta, |
4 | | - option_group, CliPlugin, WitOptions, |
| 5 | + option_group, |
5 | 6 | }; |
6 | | -use anyhow::{anyhow, bail, Result}; |
| 7 | +use anyhow::{Result, anyhow, bail}; |
7 | 8 | use clap::{ |
| 9 | + CommandFactory, Parser, Subcommand, |
8 | 10 | builder::{StringValueParser, TypedValueParser, ValueParserFactory}, |
9 | 11 | error::ErrorKind, |
10 | | - CommandFactory, Parser, Subcommand, |
11 | 12 | }; |
12 | 13 | use std::{ |
13 | 14 | collections::{HashMap, HashSet}, |
14 | 15 | path::PathBuf, |
15 | 16 | }; |
16 | 17 |
|
17 | 18 | use crate::option::{ |
18 | | - fmt_help, GroupDescriptor, GroupOption, GroupOptionBuilder, GroupOptionParser, OptionValue, |
| 19 | + GroupDescriptor, GroupOption, GroupOptionBuilder, GroupOptionParser, OptionValue, fmt_help, |
19 | 20 | }; |
20 | 21 |
|
21 | 22 | #[derive(Debug, Parser)] |
@@ -378,10 +379,10 @@ mod tests { |
378 | 379 | use std::path::PathBuf; |
379 | 380 |
|
380 | 381 | use crate::{ |
| 382 | + CliPlugin, Plugin, PluginKind, |
381 | 383 | commands::{JsGroupOption, JsGroupValue, Source}, |
382 | 384 | js_config::JsConfig, |
383 | 385 | plugin::PLUGIN_MODULE, |
384 | | - CliPlugin, Plugin, PluginKind, |
385 | 386 | }; |
386 | 387 |
|
387 | 388 | use super::{CodegenOption, CodegenOptionGroup, GroupOption}; |
|
0 commit comments