Add auditing to server CLI.
Also:
- simplify auditing in API layer
- reduce number of AddMeta calls
- have models serialize themselves
- more consistent field naming
* Consistent license message for all the go files
* Fixing the last set of unconsistencies with the license headers
* Addressing PR review comments
* Fixing busy.go and busy_test.go license header
* Added ability to modify a command using the CLI
* Added ability to modify a command using the CLI
* Added TestModifyCommand to command_test.go and unit tests for new modify command
* Added ability to modify a command using the CLI
* Added TestModifyCommand to command_test.go and unit tests for new modify command
* MM-12359 Add 'command show' CLI command
This new CLI command prints out the detailed information of a given
slash command.
* Fix typo in error returned when moving slash commands
* Move prettyPrint CLI functions to util
* Move prettyPrint CLI tests to util
* Check for admin only setting and user admin status.
If "EnableOnlyAdminIntegrations" is true, will only allow team admins
to create slash commands
* Add test for non-admin user
* Simplify permissions check
* Change error message
* Fix test
* Add cli command for deleting commands
* Add code/test for delete command
* Fix test
* Add confirm flag
* Update as per comments
* Uncomment test
* Fix test