This is a command-line interface program in Python that allows you to explore directories, update registered data, search for files, and display document information by path.
The program has seven commands.
-
main This function initializes and runs the parser.
-
explore Explore directories. Syntax:
explore dir_path [dir_path ...] [--model_path MODEL_PATH]
- dir_path: Path(s) to the directory(ies) for exploration.
--model_path
: Path to the model. Optional.
-
update Updates registered data. Syntax:
update [--model_path MODEL_PATH]
--model_path
: Path to the model. Optional.
-
search Search for files using a keyword. Syntax:
search keyword [--extract_type EXTRACT_TYPE] [--file_path_pattern FILE_PATH_PATTERN]
- keyword: Keyword for the search.
--extract_type
: Extraction type. Optional.--file_path_pattern
: Pattern of the file path. Optional.
-
showdocument Display document information by path. Syntax:
showdocument path
- path: Path to the document you want to view.