Changes between Version 5 and Version 6 of TracAdmin


Ignore:
Timestamp:
09/05/24 07:04:19 (3 months ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracAdmin

    v5 v6  
    1818`trac-admin --version` will tell you about the Trac version (e.g. 1.2) corresponding to the program.
    1919
    20 To get a comprehensive list of the available command and sub-command, specify the path to an environment:
     20To get a comprehensive list of the available commands and sub-commands, specify the path to an environment followed by the subcommand `help`:
    2121{{{#!sh
    2222$ trac-admin /path/to/projenv help
     
    2828}}}
    2929
    30 When an error occurs in a `trac-admin` command the return value will be `2` and error messages are printed to `stderr`.
     30When an error occurs in a `trac-admin` command the return value will be `2` and any error messages are printed to `stderr`.
    3131
    3232=== `trac-admin <targetdir> initenv` #initenv
     
    4242
    4343`trac-admin` starts in interactive mode when the environment path is the only argument.
    44 Commands can then be executed on the selected environment using the prompt, which offers tab-completion
    45 when the Python `readline` module is available. It also offers automatic repetition of the last command issued.
     44Commands can then be executed on the selected environment using the prompt, which offers tab-completion when the Python `readline` module is available. It also offers automatic repetition of the last command issued.
    4645
    4746The `readline` module should be available on all Unix-compatible platforms. For Windows, support can be obtained by installing [https://pypi.python.org/pypi/pyreadline pyreadline].
    4847
    49 Once you are in interactive mode, you can also get help on specific commands or subsets of commands:
    50 
    51 For example, to get an explanation of the `resync` command, run:
     48In interactive mode, you can also get help on specific commands or subsets of commands. For example, to get an explanation of the `resync` command, run:
    5249{{{#!sh
    5350$ help resync
     
    6158== Full Command Reference
    6259
    63 You will find below the detailed help for all the commands available by default in `trac-admin`. Note that this may not match the list given by `trac-admin <yourenv> help`, as the commands pertaining to components disabled in that environment won't be available and conversely some plugins activated in the environment may add their own commands.
     60The commands available by default in `trac-admin` are listed below. Note that this may not match the list given by `trac-admin <yourenv> help`, as the commands pertaining to components disabled in that environment won't be available and conversely some plugins activated in the environment may add their own commands.
    6461
    6562[[TracAdminHelp()]]