The CloudFormation Provider Development Toolkit allows you to author your own resource providers and modules that can be used by CloudFormation.
Why do you think that https://github.com/belodetek/cfn-generic-custom-resource is a good alternative to cloudformation-cli