Extract snapme command name to class method

[#2]