:py:mod:`fca.scripts.fca_cli` ============================= .. py:module:: fca.scripts.fca_cli Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: fca.scripts.fca_cli.validate_file fca.scripts.fca_cli.valid_filetype fca.scripts.fca_cli.valid_path fca.scripts.fca_cli.main Attributes ~~~~~~~~~~ .. autoapisummary:: fca.scripts.fca_cli.INVALID_FILETYPE_MSG fca.scripts.fca_cli.INVALID_PATH_MSG fca.scripts.fca_cli.MANDATORY_ARGUMENTS_MSG .. py:data:: INVALID_FILETYPE_MSG :value: 'Error: Invalid file format. {} must be a .txt file.' .. py:data:: INVALID_PATH_MSG :value: 'Error: Invalid file path/name. Path {} does not exist.' .. py:data:: MANDATORY_ARGUMENTS_MSG :value: 'Either -c or -k params should be specified' .. py:function:: validate_file(file_name) validate file name and path. .. py:function:: valid_filetype(file_name) .. py:function:: valid_path(path) .. py:function:: main()