losalamos.tools.manage_documents#
Terminal document manager for a single project.
Accepts a project folder path and presents the document home page for that
project directly. Project and branch navigation is handled by the higher-level
losalamos.tools.manage_vault tool.
Shell usage
python -m losalamos.tools.manage_documents path/to/project/folder
Navigation
Home page:
Aadd /Eedit /Bbuild /Vview PDF /Ddelete /Pback /Qquit.Confirmation:
ENTERoryto confirm,cto cancel,qto quit.
Functions
Parse command-line arguments. |
|
|
|
|
Open the document manager home page for a single project. |
- losalamos.tools.manage_documents.get_arguments()[source]#
Parse command-line arguments.
- Returns:
Parsed argument namespace with a
sourceattribute.
- losalamos.tools.manage_documents.run(project_folder: str, vault: str = None) None[source]#
Open the document manager home page for a single project.
Can be called directly (e.g. from
losalamos.tools.manage_vault) or viamain()when invoked from the command line.- Parameters:
project_folder (str) – Path to the project root folder.
vault (str or None) – Optional path to the vault root, passed to
losalamos.load_project()for branch detection.