Merge branch 'darcs' into master
[git-darcs-import.git] / src / Darcs / TheCommands.lhs
blob4c9ae8da4060807733064608147453e96d59f933
1 % Copyright (C) 2003 David Roundy
3 % This program is free software; you can redistribute it and/or modify
4 % it under the terms of the GNU General Public License as published by
5 % the Free Software Foundation; either version 2, or (at your option)
6 % any later version.
8 % This program is distributed in the hope that it will be useful,
9 % but WITHOUT ANY WARRANTY; without even the implied warranty of
10 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 % GNU General Public License for more details.
13 % You should have received a copy of the GNU General Public License
14 % along with this program; see the file COPYING. If not, write to
15 % the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 % Boston, MA 02110-1301, USA.
18 \begin{code}
19 module Darcs.TheCommands ( command_control_list ) where
21 import Darcs.Commands.Add ( add )
22 import Darcs.Commands.AmendRecord ( amendrecord )
23 import Darcs.Commands.Annotate ( annotate )
24 import Darcs.Commands.Apply ( apply )
25 import Darcs.Commands.Changes ( changes )
26 import Darcs.Commands.Check ( check )
27 import Darcs.Commands.Convert ( convert )
28 import Darcs.Commands.Diff
29 import Darcs.Commands.Dist ( dist )
30 import Darcs.Commands.Get ( get )
31 import Darcs.Commands.Init ( initialize )
32 import Darcs.Commands.Show ( show_command, list, query )
33 import Darcs.Commands.MarkConflicts ( markconflicts, resolve )
34 import Darcs.Commands.Mv ( mv, move )
35 import Darcs.Commands.Optimize ( optimize )
36 import Darcs.Commands.Pull ( pull )
37 import Darcs.Commands.Push ( push )
38 import Darcs.Commands.Put ( put )
39 import Darcs.Commands.Record ( record, commit )
40 import Darcs.Commands.Remove ( remove, rm, unadd )
41 import Darcs.Commands.Repair ( repair )
42 import Darcs.Commands.Replace ( replace )
43 import Darcs.Commands.Revert ( revert )
44 import Darcs.Commands.Rollback ( rollback )
45 import Darcs.Commands.Send ( send )
46 import Darcs.Commands.SetPref ( setpref )
47 import Darcs.Commands.Tag ( tag )
48 import Darcs.Commands.TrackDown ( trackdown )
49 import Darcs.Commands.TransferMode ( transfer_mode )
50 import Darcs.Commands.Unrecord ( unrecord, unpull, obliterate )
51 import Darcs.Commands.Unrevert ( unrevert )
52 import Darcs.Commands.WhatsNew ( whatsnew )
53 import Darcs.Commands ( CommandControl(Command_data,Hidden_command,Group_name) )
55 -- | The commands that darcs knows about (e.g. whatsnew, record),
56 -- organized into thematic groups. Note that hidden commands
57 -- are also listed here.
58 command_control_list :: [CommandControl]
59 command_control_list = [Group_name "Changing and querying the working copy:",
60 Command_data add,
61 Command_data remove, Hidden_command unadd, Hidden_command rm,
62 Command_data mv, Hidden_command move,
63 Command_data replace,
64 Command_data revert,
65 Command_data unrevert,
66 Command_data whatsnew,
67 Group_name "Copying changes between the working copy and the repository:",
68 Command_data record, Hidden_command commit,
69 Command_data unrecord,
70 Command_data amendrecord,
71 Command_data markconflicts, Hidden_command resolve,
72 Group_name "Direct modification of the repository:",
73 Command_data tag,
74 Command_data setpref,
75 Group_name "Querying the repository:",
76 Command_data diff_command,
77 Command_data changes,
78 Command_data annotate,
79 Command_data dist,
80 Command_data trackdown,
81 Command_data show_command, Hidden_command list, Hidden_command query,
82 Hidden_command transfer_mode,
83 Group_name "Copying patches between repositories with working copy update:",
84 Command_data pull,
85 Command_data obliterate, Hidden_command unpull,
86 Command_data rollback,
87 Command_data push,
88 Command_data send,
89 Command_data apply,
90 Command_data get,
91 Command_data put,
92 Group_name "Administrating repositories:",
93 Command_data initialize,
94 Command_data optimize,
95 Command_data check,
96 Command_data repair,
97 Command_data convert]
99 \end{code}