An easy way to install, remove, and update slope packages.
```
slp +<package> # installs a package
slp -<package> # removes a package
slp ^<package> # updates a package
slp ?<term> # searches for a package
slp @<package> # shows details for a package
slp docs [module] # opens the modules readme in $PAGER
slp gen # creates a new package
slp help # print this message
slp installed # lists all installed packages
slp list # lists all available packages
slp docs [module] # open a module's readme in $PAGER
slp gen # creates new module dir/skeleton
slp help # print usage information
slp install [module...] # installs module(s)
slp installed # lists all installed packages
slp list # lists all available packages
slp remove [module...] # removes module(s)
slp search [term...] # searches for modules
slp show [module...] # shows details module(s)
slp update [module...] # updates module(s)
```
Prefix operations can be chained (e.g. `slp +foo -bar`...)
Packages can be registered in the repository at [https://git.rawtext.club/slope-lang/packages](slope-lang/packages) by submitting a PR to that repository
_A note on module versioning_: At present, **slp** does not handle any versioning and will always grab the newest version of a module, while `update` will always update to the newest. There are plans in place to declare a module release via the release's tag value: `module-name@tag` (ex. ini@0.2.1). Stay tuned for an announcement that that has been added. In the meantime: good fortune and safe journeys in the wilderness.
\fBslp\fP is a basic package management system for the slope programming language.
\fBslp\fP is a basic package management system for the slope programming language
.SHOPTIONS
.TP
.B
\fBhelp\fP
Display usage help and exit. Provides a list of all command line options with a short description and exits.
.TP
.B
\fBlist\fP
Display a list of \fIall\fP packages in the registry
\fBdocs [module]\fP
View the given module's README file, if one exists. Only works for local modules. Uses \fI$PAGER\fP, falling back to \fIless\fP, as the document viewer
.TP
.B
\fBgen\fP
Generate a new project folder with module.json and main.slo files
.TP
.B
\fBinstalled\fP
Display a list of the \fIcurrently installed\fP modules
\fBhelp\fP
Display usage help and exit. Provides a list of all command line options with a short description and exits
.TP
.B
\fBdocs [module]\fP
View the given module's README file, if one exists. Only works for local modules
\fBinstall [module...]\fP
Installs the given modules
.TP
.B
\fBinstalled\fP
Display a list of the \fIcurrently installed\fP modules
.TP
.B
\fB+<package>\fP
Installs \fI<package>\fP
\fBlist\fP
Display a list of \fIall\fP packages in the registry
.TP
.B
\fB-<package>\fP
Removes \fI<package>\fP
\fBremove [module...]\fP
Removes the given modules
.TP
.B
\fB^<package>\fP
Updates \fI<package>\fP
\fBsearch [term...]\fP
Searches for the given terms in the package registry and displays matching results
.TP
.B
\fB@<package>\fP
Show information about \fI<package>\fP
\fBshow [module...]\fP
Show information about the given modules
.TP
.B
\fB?<term>\fP
Searches for \fI<term>\fP in the package registry and displays matching results
\fBupdate [module...]\fP
Updates the given modules to the newest available version