cli example implementation