<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def main():
 """ Project's main method which will parse the command line arguments, run a scan using the TagCubeClient and exit. """

    cmd_args = TagCubeCLI.parse_args()

    try:
        tagcube_cli = TagCubeCLI.from_cmd_args(cmd_args)
    except ValueError, ve:
        # We get here when there are no credentials configured
        print '%s' % ve
        sys.exit(1)

    try:
        sys.exit(tagcube_cli.run())
    except ValueError, ve:
        # We get here when the configured credentials had some issue (invalid)
        # or there was some error (such as invalid profile name) with the params
        print '%s' % ve
        sys.exit(2)