Changes between Version 5 and Version 6 of TracAdmin
- Timestamp:
- Oct 1, 2024, 10:09:57 PM (8 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracAdmin
v5 v6 18 18 `trac-admin --version` will tell you about the Trac version (e.g. 1.2) corresponding to the program. 19 19 20 To get a comprehensive list of the available command and sub-command, specify the path to an environment:20 To get a comprehensive list of the available commands and sub-commands, specify the path to an environment followed by the subcommand `help`: 21 21 {{{#!sh 22 22 $ trac-admin /path/to/projenv help … … 28 28 }}} 29 29 30 When an error occurs in a `trac-admin` command the return value will be `2` and error messages are printed to `stderr`.30 When an error occurs in a `trac-admin` command the return value will be `2` and any error messages are printed to `stderr`. 31 31 32 32 === `trac-admin <targetdir> initenv` #initenv … … 42 42 43 43 `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. 44 Commands 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. 46 45 47 46 The `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]. 48 47 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: 48 In 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: 52 49 {{{#!sh 53 50 $ help resync … … 61 58 == Full Command Reference 62 59 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.60 The 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. 64 61 65 62 [[TracAdminHelp()]]