options.dart 464 B

123456789101112131415161718192021
  1. /// The options for the command line tool
  2. class Options {
  3. /// The source directory which the tool will use to generate the output file
  4. String? sourceDir;
  5. /// The output directory which the tool will use to output the file(s)
  6. String? outputDir;
  7. /// The name of the file that will be generated
  8. String? outputFile;
  9. @override
  10. String toString() {
  11. return '''
  12. Options:
  13. sourceDir: $sourceDir
  14. outputDir: $outputDir
  15. name: $outputFile
  16. ''';
  17. }
  18. }