How do you get a list of all available commands?

asked 2014-02-26 20:54:23 +0000

blueyed gravatar image

There must be a better way than looking at the error message from i3-msg foo:

ERROR: Your command: foo
ERROR:               ^^^
ERROR: Expected one of these tokens: <end>, '[', 'move', 'exec', 'exit', 'restart', 'reload', 'shmlog', 'debuglog', 'border', 'layout', 'append_layout', 'workspace', 'focus', 'kill', 'open', 'fullscreen', 'split', 'floating', 'mark', 'unmark', 'resize', 'rename', 'nop', 'scratchpad', 'mode', 'bar'

In the end a new command like i3-msg help, or i3-msg --help might provide this, with a short description of each one.

There is a list of commands section in the userguide, but that is not compact enough for reference.

(btw: open is only meant to be used by the test suite for example)

edit retag flag offensive close merge delete

Comments

I guess the chances are pretty high that a patch will be accepted ;)

joepd gravatar imagejoepd ( 2014-03-15 22:42:10 +0000 )edit

Agreed. Documentation improvements are typically accepted.

Michael gravatar imageMichael ( 2014-04-17 14:17:34 +0000 )edit