File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ Future<void> generateHeaderComments(
2828 example: 'df_generate_header_comments -i .' ,
2929 params: [
3030 DefaultFlags .HELP .flag.copyWith (negatable: true ),
31- DefaultOptions .INPUT_PATH .option.copyWith (
31+ DefaultOptionParams .INPUT_PATH .option.copyWith (
3232 defaultsTo: FileSystemUtility .i.currentDir,
3333 ),
34- DefaultOptions .TEMPLATE_PATH_OR_URL .option.copyWith (
34+ DefaultOptionParams .TEMPLATE_PATH_OR_URL .option.copyWith (
3535 defaultsTo: defaultTemplate,
3636 ),
3737 ],
@@ -54,8 +54,8 @@ Future<void> generateHeaderComments(
5454 late final String inputPath;
5555 late final String template;
5656 try {
57- inputPath = argResults.option (DefaultOptions .INPUT_PATH .name)! ;
58- template = argResults.option (DefaultOptions .TEMPLATE_PATH_OR_URL .name)! ;
57+ inputPath = argResults.option (DefaultOptionParams .INPUT_PATH .name)! ;
58+ template = argResults.option (DefaultOptionParams .TEMPLATE_PATH_OR_URL .name)! ;
5959 } catch (_) {
6060 _print (
6161 Log .printRed,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ repository: https://github.com/robmllze/df_generate_comment_headers
1616funding :
1717 - https://www.buymeacoffee.com/dev_cetera
1818description : A tool to generate header comments for your source files.
19- version : 0.5.0
19+ version : 0.5.1
2020topics :
2121 - source-gen
2222 - build-runner
@@ -36,7 +36,7 @@ dependencies:
3636 args : ^2.7.0
3737
3838 df_config : ^0.7.5
39- df_gen_core : ^0.6.16
39+ df_gen_core : ^0.7.0
4040 df_log : ^0.3.19
4141
4242# # -----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments