File: lp-shell.1

package info (click to toggle)
lptools 0.3.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 396 kB
  • sloc: python: 1,550; makefile: 6
file content (57 lines) | stat: -rw-r--r-- 1,583 bytes parent folder | download | duplicates (6)
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
.TH lp-shell "1" "27 March 2010" "lptools"
.SH NAME
lp\-shell \- Open an interactive launchpadlib shell.

.SH SYNOPSIS
.B lp\-shell
.RB [ \-a ]
.RB [ \-c PROGRAM ]
.RB [ \-\-python ]
.RB [ \-\-ipython ]
.RI [ service ]
.RI [ "LP API version" ]

.SH DESCRIPTION
.B lp\-shell
opens an interactive Python shell with a launchpadlib.Launchpad object "lp"
which is ready for use.

It authenticates against Launchpad with the consumer name "udt-lp-shell". When
using \fBlp\-shell\fR with the \fB\-a\fR option it will use the anonymous login
from launchpadlib.Launchpad.

By default \fBlp\-shell\fR connects to the "\fIproduction\fR" Launchpad service
using the "\fI1.0\fR" LP API version.

If you want to connect to another Launchpad service, call \fBlp\-shell\fR with
the service name as the second argument. \fBlp\-shell\fR supports all services
known by launchpadlib Python module.
Currently known are (list can be incomplete or outdated): "production",
"staging", "dogfood".

A different LP API version can be selected by passing the API version to use as
the third argument. Current supported are: "beta", "1.0" and "devel".

.SH OPTIONS
.TP
.B \-a
Login anonymously into Launchpad.

.TP
.B \-c PROGRAM
Don't enter a shell but only run the specified Python program and exit.

.TP
.B \-\-ipython
Use an ipython shell if available (default).

.TP
.B \-\-python
Use a regular python shell.

.SH AUTHORS
.B lp\-shell
was written by Martin Pitt <martin.pitt@ubuntu.com>.
.PP
It is released under the terms of the GNU General Public License, version 2
or (at your option) any later version.