Added inventory command functionality.