Skip to content

Arguments

LogseqAnalyzerArguments Class.

Classes:

Name Description
Args

A class to represent command line arguments for the Logseq Analyzer.

Args(global_config: str = '', graph_cache: bool = False, graph_folder: str = '', move_all: bool = False, move_bak: bool = False, move_recycle: bool = False, move_unlinked_assets: bool = False, report_format: str = '.txt', write_graph: bool = False) dataclass

A class to represent command line arguments for the Logseq Analyzer.

Methods:

Name Description
set_gui_args

Set arguments if provided as keyword arguments from GUI.

set_cli_args

Parse command line arguments and set them as attributes.

Attributes:

Name Type Description
report dict[Output, list[tuple[str, Any]]]

Generate a report of the arguments.

report: dict[Output, list[tuple[str, Any]]] property

Generate a report of the arguments.

set_gui_args(gui_args: dict[str, Any]) -> None

Set arguments if provided as keyword arguments from GUI.

set_cli_args() -> None

Parse command line arguments and set them as attributes.