gh_pages 0.1.0 copy "gh_pages: ^0.1.0" to clipboard
gh_pages: ^0.1.0 copied to clipboard

Publish a subdirectory into gh-pages branch

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate gh_pages

Use it

The package has the following executables:

$ gh_pages

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add gh_pages

With Flutter:

 $ flutter pub add gh_pages

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

dependencies:
  gh_pages: ^0.1.0

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:gh_pages/gh_pages.dart';
1
likes
150
points
29
downloads

Publisher

verified publishervojtech.net

Weekly Downloads

Publish a subdirectory into gh-pages branch

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, git, path

More

Packages that depend on gh_pages