Added cli.js logic for npm implimentation Signed-off-by: Mithun Gowda B <mithungowda.b7411@gmail.com>