This is a zero-dependency and lightweight Solidity flattener. This tool combines any given Solidity file's dependency and prints out the value in the shell.
Solidity Documentation Generator 2