Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Script execution instructions in "Installing" tab #269

Open
seaneagan opened this issue Jan 16, 2015 · 1 comment
Open

Script execution instructions in "Installing" tab #269

seaneagan opened this issue Jan 16, 2015 · 1 comment

Comments

@seaneagan
Copy link

Assuming /bin has foo, bar, and baz, and pubspec.yaml has:

name: foo
# ...
executables:
  foo:
  bar:

The "Installing" tab could show something like:

Scripts

1. Activate (more info)

pub global activate foo

2. Run (more info)

foo ...
bar ...

If pubspec.yaml has no executables, then it could show:

2. Run (more info)

pub global run foo ...
pub global run foo:bar ...
pub global run foo:baz ...
@seaneagan
Copy link
Author

Also, if the package does not have anything in /lib outside of /lib/src, then the current installing instructions could be omitted altogether in favor of the above instructions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant