Updates readme and man page
This commit is contained in:
parent
92f6017697
commit
3d8d1a7cc7
|
@ -8,8 +8,8 @@ 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 ?<package> # displays info about a package
|
||||
slp @<term> # searches for a package
|
||||
slp @<package> # displays info about a package
|
||||
slp ?<term> # searches for a package
|
||||
|
||||
slp list # lists all packages in the index
|
||||
slp gen # start a new project
|
||||
|
|
|
@ -47,8 +47,8 @@ func Parse(args []string) ([]Operation, error) {
|
|||
'-': REMOVE,
|
||||
'^': UPDATE,
|
||||
':': GENERATE,
|
||||
'?': SHOW,
|
||||
'@': SEARCH,
|
||||
'@': SHOW,
|
||||
'?': SEARCH,
|
||||
}
|
||||
|
||||
for _, arg := range args {
|
||||
|
|
18
slp.1
18
slp.1
|
@ -20,16 +20,28 @@ Display usage help and exit. Provides a list of all command line options with a
|
|||
Display a list of \fIall\fP packages in the registry
|
||||
.TP
|
||||
.B
|
||||
\fBgen\fP
|
||||
Generate a new project folder with module.json and main.slo files
|
||||
.TP
|
||||
.B
|
||||
\fBdocs [module]\fP
|
||||
View the given module's README file, if one exists. Only works for local modules
|
||||
.TP
|
||||
.B
|
||||
\fB+<package>\fP
|
||||
Installs \fI<package>\fP, if it is found
|
||||
Installs \fI<package>\fP
|
||||
.TP
|
||||
.B
|
||||
\fB-<package>\fP
|
||||
Removes \fI<package>\fP, if it is found
|
||||
Removes \fI<package>\fP
|
||||
.TP
|
||||
.B
|
||||
\fB^<package>\fP
|
||||
Updates \fI<package>\fP, if it is found
|
||||
Updates \fI<package>\fP
|
||||
.TP
|
||||
.B
|
||||
\fB@<package>\fP
|
||||
Show information about \fI<package>\fP
|
||||
.TP
|
||||
.B
|
||||
\fB?<term>\fP
|
||||
|
|
Loading…
Reference in New Issue
Block a user