Appendix B. Command-Line Action Reference

The CLI has five basic actions—list, show, create , edit , and comment/correspond—and a number of subactions. The basic actions can operate on any object type, from tickets to queues to users, and most take options that modify the actions’ behavior. The syntax for rt is essentially:

rt action [options] [arguments]

An action is mandatory, an option is clearly optional, and most actions take arguments. For example, it makes sense for a list command to take at least one object ID as an argument. With some actions the arguments might be a list of field=value pairs to set.

Get RT Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.