terraformlintingcli package

Submodules

terraformlintingcli.terraformlintingcli module

Main code for terraformlintingcli

class terraformlintingcli.terraformlintingcli.ReadableDirectory(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]

Bases: argparse.Action

Argparse action for a directory that is readable

class terraformlintingcli.terraformlintingcli.ReadableFile(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]

Bases: argparse.Action

Argparse action for a file that is readable

terraformlintingcli.terraformlintingcli.get_arguments()[source]

Gets us the cli arguments.

Returns the args as parsed from the argsparser.

terraformlintingcli.terraformlintingcli.main()[source]

Main method.

This method holds what you want to execute when the script is run on command line.

terraformlintingcli.terraformlintingcli.setup_logging(args)[source]

Sets up the logging.

Needs the args to get the log level supplied

Parameters:args – The arguments returned gathered from argparse

terraformlintingcli.terraformlintingcliexceptions module

Custom exception code for terraformlintingcli

Module contents

terraformlintingcli package

Import all parts from terraformlintingcli here