fca.scripts.fca_cli

Module Contents

Functions

validate_file(file_name)

validate file name and path.

valid_filetype(file_name)

valid_path(path)

main()

Attributes

INVALID_FILETYPE_MSG

INVALID_PATH_MSG

MANDATORY_ARGUMENTS_MSG

fca.scripts.fca_cli.INVALID_FILETYPE_MSG = 'Error: Invalid file format. {} must be a .txt file.'
fca.scripts.fca_cli.INVALID_PATH_MSG = 'Error: Invalid file path/name. Path {} does not exist.'
fca.scripts.fca_cli.MANDATORY_ARGUMENTS_MSG = 'Either -c or -k params should be specified'
fca.scripts.fca_cli.validate_file(file_name)

validate file name and path.

fca.scripts.fca_cli.valid_filetype(file_name)
fca.scripts.fca_cli.valid_path(path)
fca.scripts.fca_cli.main()