-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathout.1
62 lines (56 loc) · 1.98 KB
/
out.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.\" Manpage for Slack JSON Parser
.TH slackjp 1 "2021 January 02" "0.0.1" "slackjp man page"
.SH NAME
slackjp \- Slack JSON Parser for Linux
.SH SYNOPSIS
slackjp
[\fB \-h \fR]
[\fB \-\-version \fR]
[\fB \-v \fR]
[\fB \-d \fR[\fB\fI all \fR|\fI images \fR|\fI attachments \fR] |\fB \-D \fI filetype \fR]
\fB\fIfilename...\fR
[\fB \-o \fI directory \fR]
.SH DESCRIPTION
Single function JSON parser for Slack Workspace exports.
.SH OPTIONS
.TP
.B \-h , \-\-help
Opens the help/usage command menu. Program exits after this function.
.TP
.B \-\-version
Prints the version number of the exectuable. Program exits after this function.
.TP
.B \-v , \-\-verbose
Outputs more information to the terminal: surpressable warnings, print exit status, etc.
.TP
.B \-d \fR[\fI all \fR|\fB\fI images \fR|\fB\fI attachments \fR]
Program will download attachements from links within the specified file(s). Three
options are available: all, images, and attachments. When specifying the download
switch, one of these must be given. "All" downloads all possible attachments and
images. "Images" only downloads attached images (not profile pictures).
"Attachments" downloads all other non-image attachments.
.TP
.B \-D\fI filetype
Operates like \fB\-d\fR; however, a specified file type must be provided. The given type
will be the only file type downloaded.
.TP
.B \-o\fI directory
Sets the output location for downloaded files or other operations. If not specified, the
current directory (./) will be used.
.SH EXIT STATUS
.SS 0
Program exited appropriately and all tasks finished succesfully.
.SS 100-Series
This exclusively deals with file downloading. All files unable to be downloaded will be
listed in an error log (err.log) alongside the return code.
.TP
.B 101
Not all files were downloaded due to broken links.
.TP
.B 102
Not all files were downloaded due to invalid file permissions.
.TP
.B 103
Not all files were downloaded due to lack of hard drive space.
.SH AUTHOR
Written by Brandt Damman (INSERT GITHUB/PROGRAMMING EMAIL)