[cli] import main function in __init__