Change cli library.

Since I wanted to write the test, I started using cli.go.
Way, I did not write the test yet.