| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'dart:io'; | 5 import 'dart:io'; |
| 6 | 6 |
| 7 import 'package:args/args.dart'; | 7 import 'package:args/args.dart'; |
| 8 import 'package:logging/logging.dart'; | 8 import 'package:logging/logging.dart'; |
| 9 | 9 |
| 10 import '../lib/docgen.dart'; | 10 import '../lib/docgen.dart'; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 parser.addFlag('parse-sdk', | 58 parser.addFlag('parse-sdk', |
| 59 help: 'Parses the SDK libraries only.', | 59 help: 'Parses the SDK libraries only.', |
| 60 defaultsTo: false, negatable: false); | 60 defaultsTo: false, negatable: false); |
| 61 parser.addOption('package-root', | 61 parser.addOption('package-root', |
| 62 help: 'Sets the package root of the library being analyzed.'); | 62 help: 'Sets the package root of the library being analyzed.'); |
| 63 parser.addFlag('append', | 63 parser.addFlag('append', |
| 64 help: 'Append to the docs folder, library_list.txt and index.txt', | 64 help: 'Append to the docs folder, library_list.txt and index.txt', |
| 65 defaultsTo: false, negatable: false); | 65 defaultsTo: false, negatable: false); |
| 66 parser.addOption('introduction', | 66 parser.addOption('introduction', |
| 67 help: 'Adds the provided markdown text file as the introduction' | 67 help: 'Adds the provided markdown text file as the introduction' |
| 68 'for the outputted documentation.', defaultsTo: ''); | 68 ' for the outputted documentation.', defaultsTo: ''); |
| 69 | 69 |
| 70 return parser; | 70 return parser; |
| 71 } | 71 } |
| OLD | NEW |