~debian-lptools/debian/sid/lptools/sid

« back to all changes in this revision

Viewing changes to doc/lp-shell.1

  • Committer: Jelmer Vernooij
  • Date: 2023-09-28 12:07:22 UTC
  • mfrom: (2.18.8)
  • Revision ID: jelmer@jelmer.uk-20230928120722-704pws90v7e943dk
* New upstream snapshot.
 + Drop patches for conversion to python 3 and breezy; now merged upstream.
+ debian/upstream/metadata: Drop unknown Homepage field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH lp-shell "1" "27 March 2010" "lptools"
 
2
.SH NAME
 
3
lp\-shell \- Open an interactive launchpadlib shell.
 
4
 
 
5
.SH SYNOPSIS
 
6
.B lp\-shell
 
7
.RB [ \-a ]
 
8
.RB [ \-c PROGRAM ]
 
9
.RB [ \-\-python ]
 
10
.RB [ \-\-ipython ]
 
11
.RI [ service ]
 
12
.RI [ "LP API version" ]
 
13
 
 
14
.SH DESCRIPTION
 
15
.B lp\-shell
 
16
opens an interactive Python shell with a launchpadlib.Launchpad object "lp"
 
17
which is ready for use.
 
18
 
 
19
It authenticates against Launchpad with the consumer name "udt-lp-shell". When
 
20
using \fBlp\-shell\fR with the \fB\-a\fR option it will use the anonymous login
 
21
from launchpadlib.Launchpad.
 
22
 
 
23
By default \fBlp\-shell\fR connects to the "\fIproduction\fR" Launchpad service
 
24
using the "\fI1.0\fR" LP API version.
 
25
 
 
26
If you want to connect to another Launchpad service, call \fBlp\-shell\fR with
 
27
the service name as the second argument. \fBlp\-shell\fR supports all services
 
28
known by launchpadlib Python module.
 
29
Currently known are (list can be incomplete or outdated): "production",
 
30
"staging", "dogfood".
 
31
 
 
32
A different LP API version can be selected by passing the API version to use as
 
33
the third argument. Current supported are: "beta", "1.0" and "devel".
 
34
 
 
35
.SH OPTIONS
 
36
.TP
 
37
.B \-a
 
38
Login anonymously into Launchpad.
 
39
 
 
40
.TP
 
41
.B \-c PROGRAM
 
42
Don't enter a shell but only run the specified Python program and exit.
 
43
 
 
44
.TP
 
45
.B \-\-ipython
 
46
Use an ipython shell if available (default).
 
47
 
 
48
.TP
 
49
.B \-\-python
 
50
Use a regular python shell.
 
51
 
 
52
.SH AUTHORS
 
53
.B lp\-shell
 
54
was written by Martin Pitt <martin.pitt@ubuntu.com>.
 
55
.PP
 
56
It is released under the terms of the GNU General Public License, version 2
 
57
or (at your option) any later version.