Implements cli.init()