Skip to content
/ spub Public

Simple command line program to open pub.dev with given arguments.

License

Notifications You must be signed in to change notification settings

jayjah/spub

Repository files navigation

Dart

spub - Search pub

A simple dart command line application that opens a browser and redirects to `pub.dev` with given arguments.
For each argument a new search will happen.

Why?

Are you tired of opening a browser/tab and entering pub.dev, afterwards searching for a/the package?

This process frustrates me sometimes, so I thought why not just open it with a simple cli-tool? Furthermore if the given package could not be found, this tool tries to help with further suggestions.

Activate

git clone https://github.com/jayjah/spub.git
cd spub 
dart pub global activate --source path .

Usage

Probably it makes sense to make an alias for the command dart pub global run to make your life easier.

dart pub global run spub args test

Structure

  • entrypoint in bin/
  • library code in lib/
  • unit test in test/
ToDos
  • add --doc parameter for documentation path

About

Simple command line program to open pub.dev with given arguments.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages