adding docs on command creation