Package osh :: Package command
[frames] | no frames]

Source Code for Package osh.command

 1  # osh 
 2  # Copyright (C) 2005 Jack Orenstein <jao@geophile.com> 
 3  # 
 4  # This program is free software; you can redistribute it and/or modify 
 5  # it under the terms of the GNU General Public License as published by 
 6  # the Free Software Foundation; either version 2 of the License, or 
 7  # (at your option) any later version. 
 8  # 
 9  # This program is distributed in the hope that it will be useful, 
10  # but WITHOUT ANY WARRANTY; without even the implied warranty of 
11  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
12  # GNU General Public License for more details. 
13  # 
14  # You should have received a copy of the GNU General Public License 
15  # along with this program; if not, write to the Free Software 
16  # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
17   
18  """These pages document osh commands for both the 
19  command-line and application programming interfaces. The top of each page describes 
20  command-line usage and gives a detailed discussion of command 
21  behavior. API (application programming interface) usage is discussed 
22  in the B{Functions} section of the page. 
23  """ 
24   
25  cli = [ 
26      'agg', 
27      'cat', 
28      'copyfrom', 
29      'copyto', 
30      'expand', 
31      'f', 
32      'gen', 
33      'help', 
34      'imp', 
35      'install', 
36      'installosh', 
37      'out', 
38      'py', 
39      'reverse', 
40      'select', 
41      'sh', 
42      'sort', 
43      'sql', 
44      'squish', 
45      'timer', 
46      'unique', 
47      'version', 
48      'window' 
49      ] 
50   
51  api_only = [ 
52      'remote', 
53      'stdin' 
54      ] 
55   
56  __all__ = cli + api_only 
57