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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
-- Copyright (C) 2003 David Roundy
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2, or (at your option)
-- any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; see the file COPYING. If not, write to
-- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-- Boston, MA 02110-1301, USA.
{-# LANGUAGE CPP #-}
module Darcs.UI.TheCommands ( commandControlList ) where
import Prelude ()
import Darcs.UI.Commands.Add ( add )
import Darcs.UI.Commands.Amend ( amend, amendrecord )
import Darcs.UI.Commands.Annotate ( annotate )
import Darcs.UI.Commands.Apply ( apply )
import Darcs.UI.Commands.Clone ( clone, get, put )
import Darcs.UI.Commands.Convert ( convert )
import Darcs.UI.Commands.Diff ( diffCommand )
import Darcs.UI.Commands.Dist ( dist )
import Darcs.UI.Commands.GZCRCs ( gzcrcs )
import Darcs.UI.Commands.Init ( initialize )
import Darcs.UI.Commands.Log ( log, changes )
import Darcs.UI.Commands.Show ( showCommand )
import Darcs.UI.Commands.MarkConflicts ( markconflicts )
import Darcs.UI.Commands.Move ( move, mv )
import Darcs.UI.Commands.Optimize ( optimize )
import Darcs.UI.Commands.Pull ( pull, fetch )
import Darcs.UI.Commands.Push ( push )
import Darcs.UI.Commands.Rebase ( rebase )
import Darcs.UI.Commands.Record ( record, commit )
import Darcs.UI.Commands.Remove ( remove, rm, unadd )
import Darcs.UI.Commands.Repair ( repair, check )
import Darcs.UI.Commands.Replace ( replace )
import Darcs.UI.Commands.Revert ( revert )
import Darcs.UI.Commands.Rollback ( rollback )
import Darcs.UI.Commands.Send ( send )
import Darcs.UI.Commands.SetPref ( setpref )
import Darcs.UI.Commands.Tag ( tag )
import Darcs.UI.Commands.Test ( test )
import Darcs.UI.Commands.TransferMode ( transferMode )
import Darcs.UI.Commands.Unrecord ( unrecord, unpull, obliterate )
import Darcs.UI.Commands.Unrevert ( unrevert )
import Darcs.UI.Commands.WhatsNew ( whatsnew, status )
import Darcs.UI.Commands ( CommandControl, normalCommand, hiddenCommand, commandGroup )
-- | The commands that darcs knows about (e.g. whatsnew, record),
-- organized into thematic groups. Note that hidden commands
-- are also listed here.
commandControlList :: [CommandControl]
commandControlList =
[ commandGroup "Most used/starting out:"
, normalCommand initialize
, normalCommand add
, normalCommand whatsnew, hiddenCommand status
, normalCommand record, hiddenCommand commit
, normalCommand clone, hiddenCommand get, hiddenCommand put
, normalCommand pull
, normalCommand push
, commandGroup "Preparing patches before recording:"
, normalCommand move, hiddenCommand mv
, normalCommand remove, hiddenCommand unadd, hiddenCommand rm
, normalCommand replace
, commandGroup "Querying the repository:"
, normalCommand log, hiddenCommand changes
, normalCommand annotate
, normalCommand diffCommand
, normalCommand showCommand
, normalCommand test
, commandGroup "Undoing and correcting:"
, normalCommand revert
, normalCommand unrevert
, normalCommand amend, hiddenCommand amendrecord
, normalCommand rebase
, normalCommand rollback
, normalCommand unrecord
, normalCommand obliterate, hiddenCommand unpull
, commandGroup "Direct modification of the repository:"
, normalCommand tag
, normalCommand setpref
, commandGroup "Exchanging patches by e-mail:"
, normalCommand send
, normalCommand apply
, commandGroup "Other commands:"
, normalCommand optimize
, normalCommand dist
, normalCommand markconflicts
, normalCommand repair, hiddenCommand check
, normalCommand convert
, normalCommand fetch
, hiddenCommand gzcrcs
, hiddenCommand transferMode
]
|