add a global command
documentation