code2docs 0.0.1-dev.3 copy "code2docs: ^0.0.1-dev.3" to clipboard
code2docs: ^0.0.1-dev.3 copied to clipboard

A library to generate samples from source code

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate code2docs

Use it

The package has the following executables:

$ code2docs

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add code2docs

With Flutter:

 $ flutter pub add code2docs

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  code2docs: ^0.0.1-dev.3

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:code2docs/code2docs.dart';
0
likes
135
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

A library to generate samples from source code

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, collection, path

More

Packages that depend on code2docs