commandmethod documentation