testpub 0.0.5 copy "testpub: ^0.0.5" to clipboard
testpub: ^0.0.5 copied to clipboard

A sample command-line application.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate testpub

Use it

The package has the following executables:

$ testpub

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add testpub

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

dependencies:
  testpub: ^0.0.5

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

Import it

Now in your Dart code, you can use:

import 'package:testpub/testpub.dart';
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A sample command-line application.

Homepage

License

BSD-3-Clause (LICENSE)

Dependencies

path, resource

More

Packages that depend on testpub