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.
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.
git clone https://github.com/jayjah/spub.git
cd spub
dart pub global activate --source path .
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
- entrypoint in
bin/
- library code in
lib/
- unit test in
test/
- add
--doc
parameter for documentation path