forked from OpenCPN/OpenCPN
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencpn-cmd.1
More file actions
82 lines (70 loc) · 1.68 KB
/
opencpn-cmd.1
File metadata and controls
82 lines (70 loc) · 1.68 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
.lf 1 opencpn-cmd.1
.\"
.\" (C) Copyright 2022 Alec Leamas <leamas.alec@gmail.com>,
.\"
.TH Opencpn-cmd 1 "Dec 2022"
.SH NAME
opencpn-cmd \- Chartplotter and GPS Navigation Software CLI interface
.SH SYNOPSIS
.B opencpn-cmd
.RI [ options ]
.SH DESCRIPTION
opencpn-cmd provides command line access to some basic functionality
available in opencpn.
It is in alpha state.
.P
Currently, opencpn-cmd supports various functions to load plugins and display
some configuration information.
.SH OPTIONS
.TP
.B \-h, \-\-help
Show help info.
.SH RUNNING
.SS Debian/Ubuntu
After a build opencpn-cmd is available in the build directory and could
be run directly:
.PP
.nf
$ cd build
$ cmake ...
$ make
$ ./opencpn-cmd --help
.fi
.PP
After `sudo make install` it is globally available.
opencpn-cmd is included in the .deb packages.
.SS Flatpak
Make a local Flatpak build as described in
https://opencpn-manuals.github.io/main/opencpn-dev/linux.html#_flatpak
This will also make a local installation.
.PP
opencpn-cmd needs to run in the Flatpak sandbox. Do:
.PP
.nf
$ flatpak run --command=bash --devel org.opencpn.OpenCPN
\[u1F4E6] opencpn-cmd --help
.fi
.SS MacOS
After a local build followed by `sudo make install` opencpn-cmd is available in
/usr/local/bin/.
Run using:
.PP
.nf
$ /usr/local/bin/OpenCPN.app/Contents/MacOS/opencpn-cmd --help
.fi
The installer installs it under Applications. Run using:
.PP
.nf
$ /Applications/OpenCPN.app/Contents/MacOS/opencpn-cmd --help
.fi
.SS Windows
The NSIS installer installs opencpn-cmd in the installation directory.
In a standard install do:
.PP
.nf
> cd "\\Program Files (x86)\\OpenCPN"
> opencpn-cmd --help
.fi
.SH SEE ALSO
.br
opencpn(1)