You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.8 KiB

.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "SLIM\-VALIDATE" "1" "May 2020" "Splunk, Inc." "Splunk Packaging Toolkit"
.
.SH "NAME"
\fBslim\-validate\fR \- verify an app and its dependencies
.
.SH "SYNOPSIS"
\fBslim\fR \fBvalidate\fR [(\fB\-h\fR|\fB\-\-help\fR)] [(\fB\-r\fR|\fB\-\-repository=\fR)<repository>] [(\fB\-u\fR|\fB\-\-unreferenced\-input\-groups=)\fR<level>] <app\-source>
.
.SH "DESCRIPTION"
Validates an app manifest and its dependencies\. Validating app dependencies requires the manifest to be validated first\. The command assumes the \fBapp\.manifest\fR file is located at the root of the app source directory\.
.
.SH "OPTIONS"
<app\-source> Location of an app source package or directory\.
.
.P
\fB\-h\fR, \fB\-\-help\fR
.
.br
Print help message and exit\.
.
.P
\fB\-r\fR <repository>, \fB\-\-repository\fR <repository>
.
.br
Look for dependent source packages in the directory at this location\. (default: \fB${SLIM_REPOSITORY:=~/\.slim/repository}\fR)
.
.P
\fB\-u\fR <level>, \fB\-\-unreferenced\-input\-groups=\fR<level>
.
.br
Report unreferenced input groups at \fBlevel\fR: \fBnote\fR|\fBwarn\fR|\fBerror\fR (default: \fBnote\fR)
.
.SH "EXAMPLES"
The following example demonstrates using the validate command to validate an app called "fictional\."
.
.IP "" 4
.
.nf
$ slim \-\-debug validate \-\-repository ~/\.slim/repository com\.splunk\.addons\-fictional\-1\.0\.0\.tar\.gz
validate: Validating app at "com\.splunk\.addons\-fictional\-1\.0\.0\.tar\.gz"\.\.\.
validate: [ERROR] fictional: unreferenced forwarder groups: dependency com\.splunk\.addon:microsoft_windows:4\.7\.5:
Active Directory Domain Services
DHCP Server
Windows Event Log
Windows Host Monitor
Windows Network Monitor
Windows Performance Monitor
Windows Print Monitor
Windows Registry
Windows Update Monitor
.
.fi
.
.IP "" 0