Improve docs
parent
b479197634
commit
dc211893b1
@ -1,18 +1,23 @@
|
||||
Install one or more packages.
|
||||
|
||||
== USAGE
|
||||
omf install <spec> [<spec> [...]] Install package by name or URL
|
||||
omf install Install missing packages from bundle
|
||||
omf install (<name> | <url>) Install package by name or URL
|
||||
|
||||
== DESCRIPTION
|
||||
You can install packages directly by URL via omf install URL.
|
||||
Installs packages identified by each <spec> given. A package can be specified either by name or by a URL.
|
||||
|
||||
When called without arguments, install missing packages from bundle.
|
||||
When specifying a package by name, the package name is searched for in each package repository currently installed. The first matching package is selected and downloaded. See `omf help repositories` for more information about repositories.
|
||||
|
||||
When a package is specified by URL, OMF assumes the URL points to a Git repository and installs the package by cloning the repository.
|
||||
|
||||
When called without arguments, any packages specified in your bundle file that are missing will be installed.
|
||||
|
||||
== EXAMPLES
|
||||
omf install
|
||||
omf install brew
|
||||
omf install https://github.com/oh-my-fish/plugin-brew
|
||||
omf install brew spark
|
||||
omf install
|
||||
|
||||
== ALIASES
|
||||
*omf i*, *omf in*, *omf get*
|
||||
|
@ -1,14 +1,18 @@
|
||||
Update Oh My Fish.
|
||||
Update Oh My Fish and packages.
|
||||
|
||||
== USAGE
|
||||
omf update [<package1> [<package2> [...]]]
|
||||
|
||||
== DESCRIPTION
|
||||
Update Oh My Fish, all package repositories, and all installed packages.
|
||||
Updates Oh My Fish, package repositories, and installed packages.
|
||||
|
||||
* When called without arguments, updates the core framework and all installed packages.
|
||||
* You can choose to update only the core, by running `omf update omf`.
|
||||
* For selective package update, list only the names of packages you wish to update. You may still include "omf" in the list to update the core as well.
|
||||
Each package name that is given will be updated. For example, to update the packages `bobthefish` and `direnv`, run:
|
||||
|
||||
omf update bobthefish direnv
|
||||
|
||||
The special package name `omf` will cause Oh My Fish to update itself. This can be combined with other package names.
|
||||
|
||||
If no arguments are given, all installed packages will be updated along with Oh My Fish.
|
||||
|
||||
== ALIASES
|
||||
*omf u*, *omf up*
|
||||
|
Loading…
Reference in New Issue