~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to fai/aba/commands/library-config

  • Committer: Aaron Bentley
  • Date: 2005-06-07 18:52:04 UTC
  • Revision ID: abentley@panoramicfeedback.com-20050607185204-5fc1f0e3d393b909
Added NEWS, obsoleted bzr-pull

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
## Copyright (C) 2004 Aaron Bentley
3
 
##
4
 
## See the file "COPYING" for further information about
5
 
## the copyright and warranty status of this work.
6
 
 
7
 
. "$abadir/aba-lib"
8
 
 
9
 
# executes the command ($* are the arguments after the command name)
10
 
cmd_exec()
11
 
{
12
 
  if [ -n "$1" ]; then
13
 
    tla library-config $*
14
 
  else
15
 
    for lib in `tla my-revision-library`; do
16
 
      tla library-config $lib
17
 
    done;
18
 
  fi
19
 
}
20
 
 
21
 
# one-liner description for aba help
22
 
cmd_desc()
23
 
{
24
 
   echo -n
25
 
}
26
 
 
27
 
# short help for aba command -h, --help
28
 
cmd_help()
29
 
{
30
 
   echo -n
31
 
   tla library-config -h;
32
 
   echo aba version: lists settings for all libraries if no arguments 
33
 
   echo
34
 
}
35
 
 
36
 
# extended help for aba command -H or aba help command
37
 
cmd_ext_help()
38
 
{
39
 
   echo -n
40
 
   tla library-config -H;
41
 
   echo aba version: lists settings for all libraries if no arguments 
42
 
   echo
43
 
}       
44
 
 
45
 
aba_run_tlawrap "$@"
46
 
# arch-tag: library-config by Aaron Bentley  (10:43 Feb 08 2004)