feat: Add Onyx CLI tool source, tests, and PyInstaller build configuration.
This commit is contained in:
1 parent
bf1dca3bc4
commit
e498031f10
38 files changed
+43760
-77
No files matched your search
@@ -1,7 +1,18 @@
|
|||||||
# Onyx CLI - Obsidian Command Line Tool
|
# Onyx CLI
|
||||||
|
|
||||||
A Python-based command-line interface for interacting with Obsidian vaults. Manage notes directly from the terminal without opening Obsidian.
|
A Python-based command-line interface for interacting with Obsidian vaults. Manage notes directly from the terminal without opening Obsidian.
|
||||||
|
|
||||||
|
## Building the Windows Executable (.exe)
|
||||||
|
|
||||||
|
You can build a standalone Windows executable using PyInstaller:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install pyinstaller
|
||||||
|
pyinstaller --onefile --name onyx src/onyx.py
|
||||||
|
```
|
||||||
|
|
||||||
|
The resulting `onyx.exe` will be found in the `dist` folder.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Clone this repository
|
1. Clone this repository
|
||||||
@@ -14,14 +25,14 @@ pip install -r requirements.txt
|
|||||||
|
|
||||||
Set up your default vault:
|
Set up your default vault:
|
||||||
```bash
|
```bash
|
||||||
ob-cli set-default "my-vault" --path "/path/to/vault"
|
onyx set-default "my-vault" --path "/path/to/vault"
|
||||||
```
|
```
|
||||||
|
|
||||||
Then use any command:
|
Then use any command:
|
||||||
```bash
|
```bash
|
||||||
ob-cli open "note-name"
|
onyx open "note-name"
|
||||||
ob-cli daily
|
onyx daily
|
||||||
ob-cli frontmatter "note-name" --view --key "tags"
|
onyx frontmatter "note-name" --view --key "tags"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
@@ -30,90 +41,90 @@ ob-cli frontmatter "note-name" --view --key "tags"
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Set default vault (required first time)
|
# Set default vault (required first time)
|
||||||
ob-cli set-default "vault-name" --path "/path/to/vault"
|
onyx set-default "vault-name" --path "/path/to/vault"
|
||||||
|
|
||||||
# Print current default vault
|
# Print current default vault
|
||||||
ob-cli print-default
|
onyx print-default
|
||||||
```
|
```
|
||||||
|
|
||||||
### Opening Notes
|
### Opening Notes
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Open a note in Obsidian
|
# Open a note in Obsidian
|
||||||
ob-cli open "note-name"
|
onyx open "note-name"
|
||||||
|
|
||||||
# Open note from specific vault
|
# Open note from specific vault
|
||||||
ob-cli open "note-name" --vault "vault-name"
|
onyx open "note-name" --vault "vault-name"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Periodic Notes
|
### Periodic Notes
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Create or open today's daily note
|
# Create or open today's daily note
|
||||||
ob-cli daily
|
onyx daily
|
||||||
|
|
||||||
# Create or open this week's note
|
# Create or open this week's note
|
||||||
ob-cli weekly
|
onyx weekly
|
||||||
|
|
||||||
# Create or open this month's note
|
# Create or open this month's note
|
||||||
ob-cli monthly
|
onyx monthly
|
||||||
|
|
||||||
# Create or open this quarter's note
|
# Create or open this quarter's note
|
||||||
ob-cli quarterly
|
onyx quarterly
|
||||||
|
|
||||||
# Create or open this year's note
|
# Create or open this year's note
|
||||||
ob-cli yearly
|
onyx yearly
|
||||||
```
|
```
|
||||||
|
|
||||||
### Creating & Editing Notes
|
### Creating & Editing Notes
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Create a new note
|
# Create a new note
|
||||||
ob-cli create "note-name"
|
onyx create "note-name"
|
||||||
|
|
||||||
# Create with content
|
# Create with content
|
||||||
ob-cli create "note-name" --content "Your content here"
|
onyx create "note-name" --content "Your content here"
|
||||||
|
|
||||||
# Create in specific vault
|
# Create in specific vault
|
||||||
ob-cli create "note-name" --vault "vault-name"
|
onyx create "note-name" --vault "vault-name"
|
||||||
|
|
||||||
# Overwrite existing note
|
# Overwrite existing note
|
||||||
ob-cli create "note-name" --content "New content" --overwrite
|
onyx create "note-name" --content "New content" --overwrite
|
||||||
|
|
||||||
# Append to existing note
|
# Append to existing note
|
||||||
ob-cli create "note-name" --content "Additional content" --append
|
onyx create "note-name" --content "Additional content" --append
|
||||||
|
|
||||||
# Create and open
|
# Create and open
|
||||||
ob-cli create "note-name" --content "content" --open
|
onyx create "note-name" --content "content" --open
|
||||||
```
|
```
|
||||||
|
|
||||||
### Viewing Notes
|
### Viewing Notes
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Print note contents to terminal
|
# Print note contents to terminal
|
||||||
ob-cli print-note "note-name"
|
onyx print-note "note-name"
|
||||||
|
|
||||||
# Print from specific vault
|
# Print from specific vault
|
||||||
ob-cli print-note "note-name" --vault "vault-name"
|
onyx print-note "note-name" --vault "vault-name"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Moving & Deleting Notes
|
### Moving & Deleting Notes
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Move or rename a note (auto-updates internal links)
|
# Move or rename a note (auto-updates internal links)
|
||||||
ob-cli move "old-path" "new-path"
|
onyx move "old-path" "new-path"
|
||||||
|
|
||||||
# Move in specific vault
|
# Move in specific vault
|
||||||
ob-cli move "old-path" "new-path" --vault "vault-name"
|
onyx move "old-path" "new-path" --vault "vault-name"
|
||||||
|
|
||||||
# Move and open
|
# Move and open
|
||||||
ob-cli move "old-path" "new-path" --open
|
onyx move "old-path" "new-path" --open
|
||||||
|
|
||||||
# Delete a note
|
# Delete a note
|
||||||
ob-cli delete "note-path"
|
onyx delete "note-path"
|
||||||
|
|
||||||
# Delete from specific vault
|
# Delete from specific vault
|
||||||
ob-cli delete "note-path" --vault "vault-name"
|
onyx delete "note-path" --vault "vault-name"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Frontmatter Management
|
### Frontmatter Management
|
||||||
@@ -122,30 +133,30 @@ Edit note metadata in YAML frontmatter:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# View a frontmatter key
|
# View a frontmatter key
|
||||||
ob-cli frontmatter "note-name" --view --key "tags"
|
onyx frontmatter "note-name" --view --key "tags"
|
||||||
|
|
||||||
# Check if a value exists in frontmatter
|
# Check if a value exists in frontmatter
|
||||||
ob-cli frontmatter "note-name" --view --key "tags" --value "project"
|
onyx frontmatter "note-name" --view --key "tags" --value "project"
|
||||||
|
|
||||||
# Edit frontmatter (add or update key)
|
# Edit frontmatter (add or update key)
|
||||||
ob-cli frontmatter "note-name" --edit --key "tags" --value "project"
|
onyx frontmatter "note-name" --edit --key "tags" --value "project"
|
||||||
ob-cli frontmatter "note-name" --edit --key "tags" --value "project,urgent"
|
onyx frontmatter "note-name" --edit --key "tags" --value "project,urgent"
|
||||||
ob-cli frontmatter "note-name" --edit --key "status" --value "in-progress"
|
onyx frontmatter "note-name" --edit --key "status" --value "in-progress"
|
||||||
|
|
||||||
# Clear frontmatter values
|
# Clear frontmatter values
|
||||||
ob-cli frontmatter "note-name" --clear --key "tags"
|
onyx frontmatter "note-name" --clear --key "tags"
|
||||||
ob-cli frontmatter "note-name" --clear --key "date,status,tags"
|
onyx frontmatter "note-name" --clear --key "date,status,tags"
|
||||||
|
|
||||||
# Delete frontmatter keys
|
# Delete frontmatter keys
|
||||||
ob-cli frontmatter "note-name" --delete --key "tags"
|
onyx frontmatter "note-name" --delete --key "tags"
|
||||||
ob-cli frontmatter "note-name" --delete --key "date,status,tags"
|
onyx frontmatter "note-name" --delete --key "date,status,tags"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Version
|
### Version
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Display version
|
# Display version
|
||||||
ob-cli --version
|
onyx --version
|
||||||
```
|
```
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,158 @@
|
|||||||
|
('C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\dist\\obsidian_cli.exe',
|
||||||
|
True,
|
||||||
|
False,
|
||||||
|
False,
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\bootloader\\images\\icon-console.ico',
|
||||||
|
None,
|
||||||
|
False,
|
||||||
|
False,
|
||||||
|
b'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<assembly xmlns='
|
||||||
|
b'"urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">\n <trustInfo x'
|
||||||
|
b'mlns="urn:schemas-microsoft-com:asm.v3">\n <security>\n <requested'
|
||||||
|
b'Privileges>\n <requestedExecutionLevel level="asInvoker" uiAccess='
|
||||||
|
b'"false"/>\n </requestedPrivileges>\n </security>\n </trustInfo>\n '
|
||||||
|
b'<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">\n <'
|
||||||
|
b'application>\n <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f'
|
||||||
|
b'0}"/>\n <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>\n '
|
||||||
|
b' <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>\n <s'
|
||||||
|
b'upportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>\n <supporte'
|
||||||
|
b'dOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>\n </application>\n <'
|
||||||
|
b'/compatibility>\n <application xmlns="urn:schemas-microsoft-com:asm.v3">'
|
||||||
|
b'\n <windowsSettings>\n <longPathAware xmlns="http://schemas.micros'
|
||||||
|
b'oft.com/SMI/2016/WindowsSettings">true</longPathAware>\n </windowsSett'
|
||||||
|
b'ings>\n </application>\n <dependency>\n <dependentAssembly>\n <ass'
|
||||||
|
b'emblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version='
|
||||||
|
b'"6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" langua'
|
||||||
|
b'ge="*"/>\n </dependentAssembly>\n </dependency>\n</assembly>',
|
||||||
|
True,
|
||||||
|
False,
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\obsidian_cli.pkg',
|
||||||
|
[('pyi-contents-directory _internal', '', 'OPTION'),
|
||||||
|
('PYZ-00.pyz',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\PYZ-00.pyz',
|
||||||
|
'PYZ'),
|
||||||
|
('struct',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\localpycs\\struct.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod01_archive',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\localpycs\\pyimod01_archive.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod02_importers',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\localpycs\\pyimod02_importers.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod03_ctypes',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\localpycs\\pyimod03_ctypes.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod04_pywin32',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\localpycs\\pyimod04_pywin32.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyiboot01_bootstrap',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_inspect',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_setuptools',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_pkgutil',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_multiprocessing',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('obsidian_cli',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\src\\obsidian_cli.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('python312.dll', 'C:\\Python312\\python312.dll', 'BINARY'),
|
||||||
|
('_multiprocessing.pyd',
|
||||||
|
'C:\\Python312\\DLLs\\_multiprocessing.pyd',
|
||||||
|
'EXTENSION'),
|
||||||
|
('_decimal.pyd', 'C:\\Python312\\DLLs\\_decimal.pyd', 'EXTENSION'),
|
||||||
|
('_hashlib.pyd', 'C:\\Python312\\DLLs\\_hashlib.pyd', 'EXTENSION'),
|
||||||
|
('select.pyd', 'C:\\Python312\\DLLs\\select.pyd', 'EXTENSION'),
|
||||||
|
('_socket.pyd', 'C:\\Python312\\DLLs\\_socket.pyd', 'EXTENSION'),
|
||||||
|
('_lzma.pyd', 'C:\\Python312\\DLLs\\_lzma.pyd', 'EXTENSION'),
|
||||||
|
('_bz2.pyd', 'C:\\Python312\\DLLs\\_bz2.pyd', 'EXTENSION'),
|
||||||
|
('pyexpat.pyd', 'C:\\Python312\\DLLs\\pyexpat.pyd', 'EXTENSION'),
|
||||||
|
('_ssl.pyd', 'C:\\Python312\\DLLs\\_ssl.pyd', 'EXTENSION'),
|
||||||
|
('_ctypes.pyd', 'C:\\Python312\\DLLs\\_ctypes.pyd', 'EXTENSION'),
|
||||||
|
('_queue.pyd', 'C:\\Python312\\DLLs\\_queue.pyd', 'EXTENSION'),
|
||||||
|
('_overlapped.pyd', 'C:\\Python312\\DLLs\\_overlapped.pyd', 'EXTENSION'),
|
||||||
|
('_asyncio.pyd', 'C:\\Python312\\DLLs\\_asyncio.pyd', 'EXTENSION'),
|
||||||
|
('_wmi.pyd', 'C:\\Python312\\DLLs\\_wmi.pyd', 'EXTENSION'),
|
||||||
|
('unicodedata.pyd', 'C:\\Python312\\DLLs\\unicodedata.pyd', 'EXTENSION'),
|
||||||
|
('yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
|
'EXTENSION'),
|
||||||
|
('_uuid.pyd', 'C:\\Python312\\DLLs\\_uuid.pyd', 'EXTENSION'),
|
||||||
|
('VCRUNTIME140.dll', 'C:\\Python312\\VCRUNTIME140.dll', 'BINARY'),
|
||||||
|
('libcrypto-3.dll', 'C:\\Python312\\DLLs\\libcrypto-3.dll', 'BINARY'),
|
||||||
|
('libssl-3.dll', 'C:\\Python312\\DLLs\\libssl-3.dll', 'BINARY'),
|
||||||
|
('libffi-8.dll', 'C:\\Python312\\DLLs\\libffi-8.dll', 'BINARY'),
|
||||||
|
('VCRUNTIME140_1.dll', 'C:\\Python312\\VCRUNTIME140_1.dll', 'BINARY'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\jaraco\\text\\Lorem ipsum.txt',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\jaraco\\text\\Lorem '
|
||||||
|
'ipsum.txt',
|
||||||
|
'DATA'),
|
||||||
|
('base_library.zip',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\base_library.zip',
|
||||||
|
'DATA')],
|
||||||
|
[],
|
||||||
|
False,
|
||||||
|
False,
|
||||||
|
1762310569,
|
||||||
|
[('run.exe',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit-intel\\run.exe',
|
||||||
|
'EXECUTABLE')],
|
||||||
|
'C:\\Python312\\python312.dll')
|
||||||
@@ -0,0 +1,133 @@
|
|||||||
|
('C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\obsidian_cli.pkg',
|
||||||
|
{'BINARY': True,
|
||||||
|
'DATA': True,
|
||||||
|
'EXECUTABLE': True,
|
||||||
|
'EXTENSION': True,
|
||||||
|
'PYMODULE': True,
|
||||||
|
'PYSOURCE': True,
|
||||||
|
'PYZ': False,
|
||||||
|
'SPLASH': True,
|
||||||
|
'SYMLINK': False},
|
||||||
|
[('pyi-contents-directory _internal', '', 'OPTION'),
|
||||||
|
('PYZ-00.pyz',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\PYZ-00.pyz',
|
||||||
|
'PYZ'),
|
||||||
|
('struct',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\localpycs\\struct.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod01_archive',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\localpycs\\pyimod01_archive.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod02_importers',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\localpycs\\pyimod02_importers.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod03_ctypes',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\localpycs\\pyimod03_ctypes.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod04_pywin32',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\localpycs\\pyimod04_pywin32.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyiboot01_bootstrap',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_inspect',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_setuptools',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_pkgutil',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_multiprocessing',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('obsidian_cli',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\src\\obsidian_cli.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('python312.dll', 'C:\\Python312\\python312.dll', 'BINARY'),
|
||||||
|
('_multiprocessing.pyd',
|
||||||
|
'C:\\Python312\\DLLs\\_multiprocessing.pyd',
|
||||||
|
'EXTENSION'),
|
||||||
|
('_decimal.pyd', 'C:\\Python312\\DLLs\\_decimal.pyd', 'EXTENSION'),
|
||||||
|
('_hashlib.pyd', 'C:\\Python312\\DLLs\\_hashlib.pyd', 'EXTENSION'),
|
||||||
|
('select.pyd', 'C:\\Python312\\DLLs\\select.pyd', 'EXTENSION'),
|
||||||
|
('_socket.pyd', 'C:\\Python312\\DLLs\\_socket.pyd', 'EXTENSION'),
|
||||||
|
('_lzma.pyd', 'C:\\Python312\\DLLs\\_lzma.pyd', 'EXTENSION'),
|
||||||
|
('_bz2.pyd', 'C:\\Python312\\DLLs\\_bz2.pyd', 'EXTENSION'),
|
||||||
|
('pyexpat.pyd', 'C:\\Python312\\DLLs\\pyexpat.pyd', 'EXTENSION'),
|
||||||
|
('_ssl.pyd', 'C:\\Python312\\DLLs\\_ssl.pyd', 'EXTENSION'),
|
||||||
|
('_ctypes.pyd', 'C:\\Python312\\DLLs\\_ctypes.pyd', 'EXTENSION'),
|
||||||
|
('_queue.pyd', 'C:\\Python312\\DLLs\\_queue.pyd', 'EXTENSION'),
|
||||||
|
('_overlapped.pyd', 'C:\\Python312\\DLLs\\_overlapped.pyd', 'EXTENSION'),
|
||||||
|
('_asyncio.pyd', 'C:\\Python312\\DLLs\\_asyncio.pyd', 'EXTENSION'),
|
||||||
|
('_wmi.pyd', 'C:\\Python312\\DLLs\\_wmi.pyd', 'EXTENSION'),
|
||||||
|
('unicodedata.pyd', 'C:\\Python312\\DLLs\\unicodedata.pyd', 'EXTENSION'),
|
||||||
|
('yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
|
'EXTENSION'),
|
||||||
|
('_uuid.pyd', 'C:\\Python312\\DLLs\\_uuid.pyd', 'EXTENSION'),
|
||||||
|
('VCRUNTIME140.dll', 'C:\\Python312\\VCRUNTIME140.dll', 'BINARY'),
|
||||||
|
('libcrypto-3.dll', 'C:\\Python312\\DLLs\\libcrypto-3.dll', 'BINARY'),
|
||||||
|
('libssl-3.dll', 'C:\\Python312\\DLLs\\libssl-3.dll', 'BINARY'),
|
||||||
|
('libffi-8.dll', 'C:\\Python312\\DLLs\\libffi-8.dll', 'BINARY'),
|
||||||
|
('VCRUNTIME140_1.dll', 'C:\\Python312\\VCRUNTIME140_1.dll', 'BINARY'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\jaraco\\text\\Lorem ipsum.txt',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\jaraco\\text\\Lorem '
|
||||||
|
'ipsum.txt',
|
||||||
|
'DATA'),
|
||||||
|
('base_library.zip',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\obsidian_cli\\base_library.zip',
|
||||||
|
'DATA')],
|
||||||
|
'python312.dll',
|
||||||
|
False,
|
||||||
|
False,
|
||||||
|
False,
|
||||||
|
[],
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
None)
|
||||||
Binary file not shown.
File diff suppressed because it is too large.
Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,53 @@
|
|||||||
|
|
||||||
|
This file lists modules PyInstaller was not able to find. This does not
|
||||||
|
necessarily mean this module is required for running your program. Python and
|
||||||
|
Python 3rd-party packages include a lot of conditional or optional modules. For
|
||||||
|
example the module 'ntpath' only exists on Windows, whereas the module
|
||||||
|
'posixpath' only exists on Posix systems.
|
||||||
|
|
||||||
|
Types if import:
|
||||||
|
* top-level: imported at the top-level - look at these first
|
||||||
|
* conditional: imported within an if-statement
|
||||||
|
* delayed: imported within a function
|
||||||
|
* optional: imported within a try-except-statement
|
||||||
|
|
||||||
|
IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
|
||||||
|
tracking down the missing module yourself. Thanks!
|
||||||
|
|
||||||
|
missing module named _posixshmem - imported by multiprocessing.resource_tracker (conditional), multiprocessing.shared_memory (conditional)
|
||||||
|
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level)
|
||||||
|
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level)
|
||||||
|
missing module named pwd - imported by posixpath (delayed, conditional, optional), shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional), setuptools._distutils.util (delayed, conditional, optional), netrc (delayed, conditional), getpass (delayed), setuptools._vendor.backports.tarfile (optional), setuptools._distutils.archive_util (optional), http.server (delayed, optional)
|
||||||
|
missing module named grp - imported by shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional), setuptools._vendor.backports.tarfile (optional), setuptools._distutils.archive_util (optional)
|
||||||
|
missing module named posix - imported by os (conditional, optional), shutil (conditional), importlib._bootstrap_external (conditional), posixpath (optional)
|
||||||
|
missing module named resource - imported by posix (top-level)
|
||||||
|
missing module named _scproxy - imported by urllib.request (conditional)
|
||||||
|
missing module named termios - imported by getpass (optional), tty (top-level), click._termui_impl (conditional)
|
||||||
|
missing module named multiprocessing.BufferTooShort - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
|
||||||
|
missing module named multiprocessing.AuthenticationError - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
|
||||||
|
missing module named _posixsubprocess - imported by subprocess (conditional), multiprocessing.util (delayed)
|
||||||
|
missing module named multiprocessing.get_context - imported by multiprocessing (top-level), multiprocessing.pool (top-level), multiprocessing.managers (top-level), multiprocessing.sharedctypes (top-level)
|
||||||
|
missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level)
|
||||||
|
missing module named multiprocessing.set_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
|
||||||
|
missing module named multiprocessing.get_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
|
||||||
|
missing module named pyimod02_importers - imported by C:\Users\oli\Documents\o\Resources\repos\Onyx - obsidian cli tool\.venv\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py (delayed)
|
||||||
|
missing module named typing_extensions.Buffer - imported by setuptools._vendor.typing_extensions (top-level), setuptools._vendor.wheel.wheelfile (conditional)
|
||||||
|
missing module named typing_extensions.Literal - imported by setuptools._vendor.typing_extensions (top-level), setuptools.config._validate_pyproject.formats (conditional)
|
||||||
|
missing module named typing_extensions.Self - imported by setuptools._vendor.typing_extensions (top-level), setuptools.config.expand (conditional), setuptools.config.pyprojecttoml (conditional), setuptools.config._validate_pyproject.error_reporting (conditional)
|
||||||
|
missing module named typing_extensions.deprecated - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.sysconfig (conditional), setuptools._distutils.command.bdist (conditional)
|
||||||
|
missing module named typing_extensions.TypeAlias - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.compilers.C.base (conditional), setuptools._reqs (conditional), setuptools.warnings (conditional), setuptools._path (conditional), setuptools._distutils.dist (conditional), setuptools.config.setupcfg (conditional), setuptools.config._apply_pyprojecttoml (conditional), setuptools.dist (conditional), setuptools.command.bdist_egg (conditional), setuptools.compat.py311 (conditional)
|
||||||
|
missing module named typing_extensions.Unpack - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.util (conditional), setuptools._distutils.compilers.C.base (conditional), setuptools._distutils.cmd (conditional)
|
||||||
|
missing module named typing_extensions.TypeVarTuple - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.util (conditional), setuptools._distutils.compilers.C.base (conditional), setuptools._distutils.cmd (conditional)
|
||||||
|
missing module named asyncio.DefaultEventLoopPolicy - imported by asyncio (delayed, conditional), asyncio.events (delayed, conditional)
|
||||||
|
missing module named vms_lib - imported by platform (delayed, optional)
|
||||||
|
missing module named 'java.lang' - imported by platform (delayed, optional)
|
||||||
|
missing module named java - imported by platform (delayed)
|
||||||
|
missing module named _winreg - imported by platform (delayed, optional)
|
||||||
|
missing module named usercustomize - imported by site (delayed, optional)
|
||||||
|
missing module named sitecustomize - imported by site (delayed, optional)
|
||||||
|
missing module named readline - imported by site (delayed, optional), rlcompleter (optional)
|
||||||
|
missing module named _typeshed - imported by setuptools._distutils.dist (conditional), setuptools.glob (conditional), setuptools.compat.py311 (conditional)
|
||||||
|
missing module named _manylinux - imported by packaging._manylinux (delayed, optional), setuptools._vendor.packaging._manylinux (delayed, optional), setuptools._vendor.wheel.vendored.packaging._manylinux (delayed, optional)
|
||||||
|
missing module named importlib_resources - imported by setuptools._vendor.jaraco.text (optional)
|
||||||
|
missing module named trove_classifiers - imported by setuptools.config._validate_pyproject.formats (optional)
|
||||||
|
missing module named fcntl - imported by subprocess (optional)
|
||||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,158 @@
|
|||||||
|
('C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\dist\\onyx.exe',
|
||||||
|
True,
|
||||||
|
False,
|
||||||
|
False,
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\bootloader\\images\\icon-console.ico',
|
||||||
|
None,
|
||||||
|
False,
|
||||||
|
False,
|
||||||
|
b'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<assembly xmlns='
|
||||||
|
b'"urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">\n <trustInfo x'
|
||||||
|
b'mlns="urn:schemas-microsoft-com:asm.v3">\n <security>\n <requested'
|
||||||
|
b'Privileges>\n <requestedExecutionLevel level="asInvoker" uiAccess='
|
||||||
|
b'"false"/>\n </requestedPrivileges>\n </security>\n </trustInfo>\n '
|
||||||
|
b'<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">\n <'
|
||||||
|
b'application>\n <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f'
|
||||||
|
b'0}"/>\n <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>\n '
|
||||||
|
b' <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>\n <s'
|
||||||
|
b'upportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>\n <supporte'
|
||||||
|
b'dOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>\n </application>\n <'
|
||||||
|
b'/compatibility>\n <application xmlns="urn:schemas-microsoft-com:asm.v3">'
|
||||||
|
b'\n <windowsSettings>\n <longPathAware xmlns="http://schemas.micros'
|
||||||
|
b'oft.com/SMI/2016/WindowsSettings">true</longPathAware>\n </windowsSett'
|
||||||
|
b'ings>\n </application>\n <dependency>\n <dependentAssembly>\n <ass'
|
||||||
|
b'emblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version='
|
||||||
|
b'"6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" langua'
|
||||||
|
b'ge="*"/>\n </dependentAssembly>\n </dependency>\n</assembly>',
|
||||||
|
True,
|
||||||
|
False,
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\onyx.pkg',
|
||||||
|
[('pyi-contents-directory _internal', '', 'OPTION'),
|
||||||
|
('PYZ-00.pyz',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\PYZ-00.pyz',
|
||||||
|
'PYZ'),
|
||||||
|
('struct',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\localpycs\\struct.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod01_archive',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\localpycs\\pyimod01_archive.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod02_importers',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\localpycs\\pyimod02_importers.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod03_ctypes',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\localpycs\\pyimod03_ctypes.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod04_pywin32',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\localpycs\\pyimod04_pywin32.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyiboot01_bootstrap',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_inspect',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_setuptools',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_pkgutil',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_multiprocessing',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('onyx',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\src\\onyx.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('python312.dll', 'C:\\Python312\\python312.dll', 'BINARY'),
|
||||||
|
('_multiprocessing.pyd',
|
||||||
|
'C:\\Python312\\DLLs\\_multiprocessing.pyd',
|
||||||
|
'EXTENSION'),
|
||||||
|
('_decimal.pyd', 'C:\\Python312\\DLLs\\_decimal.pyd', 'EXTENSION'),
|
||||||
|
('_hashlib.pyd', 'C:\\Python312\\DLLs\\_hashlib.pyd', 'EXTENSION'),
|
||||||
|
('select.pyd', 'C:\\Python312\\DLLs\\select.pyd', 'EXTENSION'),
|
||||||
|
('_socket.pyd', 'C:\\Python312\\DLLs\\_socket.pyd', 'EXTENSION'),
|
||||||
|
('_lzma.pyd', 'C:\\Python312\\DLLs\\_lzma.pyd', 'EXTENSION'),
|
||||||
|
('_bz2.pyd', 'C:\\Python312\\DLLs\\_bz2.pyd', 'EXTENSION'),
|
||||||
|
('pyexpat.pyd', 'C:\\Python312\\DLLs\\pyexpat.pyd', 'EXTENSION'),
|
||||||
|
('_ssl.pyd', 'C:\\Python312\\DLLs\\_ssl.pyd', 'EXTENSION'),
|
||||||
|
('_ctypes.pyd', 'C:\\Python312\\DLLs\\_ctypes.pyd', 'EXTENSION'),
|
||||||
|
('_queue.pyd', 'C:\\Python312\\DLLs\\_queue.pyd', 'EXTENSION'),
|
||||||
|
('_overlapped.pyd', 'C:\\Python312\\DLLs\\_overlapped.pyd', 'EXTENSION'),
|
||||||
|
('_asyncio.pyd', 'C:\\Python312\\DLLs\\_asyncio.pyd', 'EXTENSION'),
|
||||||
|
('_wmi.pyd', 'C:\\Python312\\DLLs\\_wmi.pyd', 'EXTENSION'),
|
||||||
|
('unicodedata.pyd', 'C:\\Python312\\DLLs\\unicodedata.pyd', 'EXTENSION'),
|
||||||
|
('yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
|
'EXTENSION'),
|
||||||
|
('_uuid.pyd', 'C:\\Python312\\DLLs\\_uuid.pyd', 'EXTENSION'),
|
||||||
|
('VCRUNTIME140.dll', 'C:\\Python312\\VCRUNTIME140.dll', 'BINARY'),
|
||||||
|
('libcrypto-3.dll', 'C:\\Python312\\DLLs\\libcrypto-3.dll', 'BINARY'),
|
||||||
|
('libssl-3.dll', 'C:\\Python312\\DLLs\\libssl-3.dll', 'BINARY'),
|
||||||
|
('libffi-8.dll', 'C:\\Python312\\DLLs\\libffi-8.dll', 'BINARY'),
|
||||||
|
('VCRUNTIME140_1.dll', 'C:\\Python312\\VCRUNTIME140_1.dll', 'BINARY'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\jaraco\\text\\Lorem ipsum.txt',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\jaraco\\text\\Lorem '
|
||||||
|
'ipsum.txt',
|
||||||
|
'DATA'),
|
||||||
|
('base_library.zip',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\base_library.zip',
|
||||||
|
'DATA')],
|
||||||
|
[],
|
||||||
|
False,
|
||||||
|
False,
|
||||||
|
1762310742,
|
||||||
|
[('run.exe',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit-intel\\run.exe',
|
||||||
|
'EXECUTABLE')],
|
||||||
|
'C:\\Python312\\python312.dll')
|
||||||
@@ -0,0 +1,133 @@
|
|||||||
|
('C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\onyx.pkg',
|
||||||
|
{'BINARY': True,
|
||||||
|
'DATA': True,
|
||||||
|
'EXECUTABLE': True,
|
||||||
|
'EXTENSION': True,
|
||||||
|
'PYMODULE': True,
|
||||||
|
'PYSOURCE': True,
|
||||||
|
'PYZ': False,
|
||||||
|
'SPLASH': True,
|
||||||
|
'SYMLINK': False},
|
||||||
|
[('pyi-contents-directory _internal', '', 'OPTION'),
|
||||||
|
('PYZ-00.pyz',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\PYZ-00.pyz',
|
||||||
|
'PYZ'),
|
||||||
|
('struct',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\localpycs\\struct.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod01_archive',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\localpycs\\pyimod01_archive.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod02_importers',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\localpycs\\pyimod02_importers.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod03_ctypes',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\localpycs\\pyimod03_ctypes.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyimod04_pywin32',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\localpycs\\pyimod04_pywin32.pyc',
|
||||||
|
'PYMODULE'),
|
||||||
|
('pyiboot01_bootstrap',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_inspect',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_setuptools',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_pkgutil',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('pyi_rth_multiprocessing',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('onyx',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\src\\onyx.py',
|
||||||
|
'PYSOURCE'),
|
||||||
|
('python312.dll', 'C:\\Python312\\python312.dll', 'BINARY'),
|
||||||
|
('_multiprocessing.pyd',
|
||||||
|
'C:\\Python312\\DLLs\\_multiprocessing.pyd',
|
||||||
|
'EXTENSION'),
|
||||||
|
('_decimal.pyd', 'C:\\Python312\\DLLs\\_decimal.pyd', 'EXTENSION'),
|
||||||
|
('_hashlib.pyd', 'C:\\Python312\\DLLs\\_hashlib.pyd', 'EXTENSION'),
|
||||||
|
('select.pyd', 'C:\\Python312\\DLLs\\select.pyd', 'EXTENSION'),
|
||||||
|
('_socket.pyd', 'C:\\Python312\\DLLs\\_socket.pyd', 'EXTENSION'),
|
||||||
|
('_lzma.pyd', 'C:\\Python312\\DLLs\\_lzma.pyd', 'EXTENSION'),
|
||||||
|
('_bz2.pyd', 'C:\\Python312\\DLLs\\_bz2.pyd', 'EXTENSION'),
|
||||||
|
('pyexpat.pyd', 'C:\\Python312\\DLLs\\pyexpat.pyd', 'EXTENSION'),
|
||||||
|
('_ssl.pyd', 'C:\\Python312\\DLLs\\_ssl.pyd', 'EXTENSION'),
|
||||||
|
('_ctypes.pyd', 'C:\\Python312\\DLLs\\_ctypes.pyd', 'EXTENSION'),
|
||||||
|
('_queue.pyd', 'C:\\Python312\\DLLs\\_queue.pyd', 'EXTENSION'),
|
||||||
|
('_overlapped.pyd', 'C:\\Python312\\DLLs\\_overlapped.pyd', 'EXTENSION'),
|
||||||
|
('_asyncio.pyd', 'C:\\Python312\\DLLs\\_asyncio.pyd', 'EXTENSION'),
|
||||||
|
('_wmi.pyd', 'C:\\Python312\\DLLs\\_wmi.pyd', 'EXTENSION'),
|
||||||
|
('unicodedata.pyd', 'C:\\Python312\\DLLs\\unicodedata.pyd', 'EXTENSION'),
|
||||||
|
('yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
|
'EXTENSION'),
|
||||||
|
('_uuid.pyd', 'C:\\Python312\\DLLs\\_uuid.pyd', 'EXTENSION'),
|
||||||
|
('VCRUNTIME140.dll', 'C:\\Python312\\VCRUNTIME140.dll', 'BINARY'),
|
||||||
|
('libcrypto-3.dll', 'C:\\Python312\\DLLs\\libcrypto-3.dll', 'BINARY'),
|
||||||
|
('libssl-3.dll', 'C:\\Python312\\DLLs\\libssl-3.dll', 'BINARY'),
|
||||||
|
('libffi-8.dll', 'C:\\Python312\\DLLs\\libffi-8.dll', 'BINARY'),
|
||||||
|
('VCRUNTIME140_1.dll', 'C:\\Python312\\VCRUNTIME140_1.dll', 'BINARY'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\jaraco\\text\\Lorem ipsum.txt',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\jaraco\\text\\Lorem '
|
||||||
|
'ipsum.txt',
|
||||||
|
'DATA'),
|
||||||
|
('base_library.zip',
|
||||||
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
|
'tool\\build\\onyx\\base_library.zip',
|
||||||
|
'DATA')],
|
||||||
|
'python312.dll',
|
||||||
|
False,
|
||||||
|
False,
|
||||||
|
False,
|
||||||
|
[],
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
None)
|
||||||
Binary file not shown.
File diff suppressed because it is too large.
Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,53 @@
|
|||||||
|
|
||||||
|
This file lists modules PyInstaller was not able to find. This does not
|
||||||
|
necessarily mean this module is required for running your program. Python and
|
||||||
|
Python 3rd-party packages include a lot of conditional or optional modules. For
|
||||||
|
example the module 'ntpath' only exists on Windows, whereas the module
|
||||||
|
'posixpath' only exists on Posix systems.
|
||||||
|
|
||||||
|
Types if import:
|
||||||
|
* top-level: imported at the top-level - look at these first
|
||||||
|
* conditional: imported within an if-statement
|
||||||
|
* delayed: imported within a function
|
||||||
|
* optional: imported within a try-except-statement
|
||||||
|
|
||||||
|
IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
|
||||||
|
tracking down the missing module yourself. Thanks!
|
||||||
|
|
||||||
|
missing module named _posixshmem - imported by multiprocessing.resource_tracker (conditional), multiprocessing.shared_memory (conditional)
|
||||||
|
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level)
|
||||||
|
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level)
|
||||||
|
missing module named pwd - imported by posixpath (delayed, conditional, optional), shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional), setuptools._distutils.util (delayed, conditional, optional), netrc (delayed, conditional), getpass (delayed), setuptools._vendor.backports.tarfile (optional), setuptools._distutils.archive_util (optional), http.server (delayed, optional)
|
||||||
|
missing module named grp - imported by shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional), setuptools._vendor.backports.tarfile (optional), setuptools._distutils.archive_util (optional)
|
||||||
|
missing module named posix - imported by os (conditional, optional), posixpath (optional), shutil (conditional), importlib._bootstrap_external (conditional)
|
||||||
|
missing module named resource - imported by posix (top-level)
|
||||||
|
missing module named _scproxy - imported by urllib.request (conditional)
|
||||||
|
missing module named termios - imported by getpass (optional), tty (top-level), click._termui_impl (conditional)
|
||||||
|
missing module named multiprocessing.BufferTooShort - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
|
||||||
|
missing module named multiprocessing.AuthenticationError - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
|
||||||
|
missing module named _posixsubprocess - imported by subprocess (conditional), multiprocessing.util (delayed)
|
||||||
|
missing module named multiprocessing.get_context - imported by multiprocessing (top-level), multiprocessing.pool (top-level), multiprocessing.managers (top-level), multiprocessing.sharedctypes (top-level)
|
||||||
|
missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level)
|
||||||
|
missing module named multiprocessing.set_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
|
||||||
|
missing module named multiprocessing.get_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
|
||||||
|
missing module named pyimod02_importers - imported by C:\Users\oli\Documents\o\Resources\repos\Onyx - obsidian cli tool\.venv\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py (delayed)
|
||||||
|
missing module named typing_extensions.Buffer - imported by setuptools._vendor.typing_extensions (top-level), setuptools._vendor.wheel.wheelfile (conditional)
|
||||||
|
missing module named typing_extensions.Literal - imported by setuptools._vendor.typing_extensions (top-level), setuptools.config._validate_pyproject.formats (conditional)
|
||||||
|
missing module named typing_extensions.Self - imported by setuptools._vendor.typing_extensions (top-level), setuptools.config.expand (conditional), setuptools.config.pyprojecttoml (conditional), setuptools.config._validate_pyproject.error_reporting (conditional)
|
||||||
|
missing module named typing_extensions.deprecated - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.sysconfig (conditional), setuptools._distutils.command.bdist (conditional)
|
||||||
|
missing module named typing_extensions.TypeAlias - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.compilers.C.base (conditional), setuptools._reqs (conditional), setuptools.warnings (conditional), setuptools._path (conditional), setuptools._distutils.dist (conditional), setuptools.config.setupcfg (conditional), setuptools.config._apply_pyprojecttoml (conditional), setuptools.dist (conditional), setuptools.command.bdist_egg (conditional), setuptools.compat.py311 (conditional)
|
||||||
|
missing module named typing_extensions.Unpack - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.util (conditional), setuptools._distutils.compilers.C.base (conditional), setuptools._distutils.cmd (conditional)
|
||||||
|
missing module named typing_extensions.TypeVarTuple - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.util (conditional), setuptools._distutils.compilers.C.base (conditional), setuptools._distutils.cmd (conditional)
|
||||||
|
missing module named asyncio.DefaultEventLoopPolicy - imported by asyncio (delayed, conditional), asyncio.events (delayed, conditional)
|
||||||
|
missing module named vms_lib - imported by platform (delayed, optional)
|
||||||
|
missing module named 'java.lang' - imported by platform (delayed, optional)
|
||||||
|
missing module named java - imported by platform (delayed)
|
||||||
|
missing module named _winreg - imported by platform (delayed, optional)
|
||||||
|
missing module named usercustomize - imported by site (delayed, optional)
|
||||||
|
missing module named sitecustomize - imported by site (delayed, optional)
|
||||||
|
missing module named readline - imported by site (delayed, optional), rlcompleter (optional)
|
||||||
|
missing module named _typeshed - imported by setuptools._distutils.dist (conditional), setuptools.glob (conditional), setuptools.compat.py311 (conditional)
|
||||||
|
missing module named _manylinux - imported by packaging._manylinux (delayed, optional), setuptools._vendor.packaging._manylinux (delayed, optional), setuptools._vendor.wheel.vendored.packaging._manylinux (delayed, optional)
|
||||||
|
missing module named importlib_resources - imported by setuptools._vendor.jaraco.text (optional)
|
||||||
|
missing module named trove_classifiers - imported by setuptools.config._validate_pyproject.formats (optional)
|
||||||
|
missing module named fcntl - imported by subprocess (optional)
|
||||||
File diff suppressed because it is too large.
Load diff
Vendored
BIN
Binary file not shown.
@@ -0,0 +1,38 @@
|
|||||||
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
|
|
||||||
|
a = Analysis(
|
||||||
|
['src\\onyx.py'],
|
||||||
|
pathex=[],
|
||||||
|
binaries=[],
|
||||||
|
datas=[],
|
||||||
|
hiddenimports=[],
|
||||||
|
hookspath=[],
|
||||||
|
hooksconfig={},
|
||||||
|
runtime_hooks=[],
|
||||||
|
excludes=[],
|
||||||
|
noarchive=False,
|
||||||
|
optimize=0,
|
||||||
|
)
|
||||||
|
pyz = PYZ(a.pure)
|
||||||
|
|
||||||
|
exe = EXE(
|
||||||
|
pyz,
|
||||||
|
a.scripts,
|
||||||
|
a.binaries,
|
||||||
|
a.datas,
|
||||||
|
[],
|
||||||
|
name='onyx',
|
||||||
|
debug=False,
|
||||||
|
bootloader_ignore_signals=False,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
runtime_tmpdir=None,
|
||||||
|
console=True,
|
||||||
|
disable_windowed_traceback=False,
|
||||||
|
argv_emulation=False,
|
||||||
|
target_arch=None,
|
||||||
|
codesign_identity=None,
|
||||||
|
entitlements_file=None,
|
||||||
|
)
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
import sys
|
||||||
|
from pathlib import Path
|
||||||
|
import subprocess
|
||||||
|
import os
|
||||||
|
import shutil
|
||||||
|
|
||||||
|
# Clean up previous test vault
|
||||||
|
vault_path = Path("test_vault").resolve()
|
||||||
|
if vault_path.exists():
|
||||||
|
shutil.rmtree(vault_path)
|
||||||
|
vault_path.mkdir(exist_ok=True)
|
||||||
|
|
||||||
|
# Create a note with French characters manually
|
||||||
|
note_name = "french_test.md"
|
||||||
|
note_path = vault_path / note_name
|
||||||
|
content = "C'est l'été à Paris. Ça va bien?"
|
||||||
|
|
||||||
|
# Write with default encoding (likely cp1252 on Windows or utf-8)
|
||||||
|
try:
|
||||||
|
# Write as UTF-8 (no BOM) to simulate a "good" file
|
||||||
|
note_path.write_text(content, encoding="utf-8")
|
||||||
|
print(f"Created {note_name} with utf-8")
|
||||||
|
except Exception as e:
|
||||||
|
print(f"Error creating note: {e}")
|
||||||
|
|
||||||
|
# Import OnyxCLI
|
||||||
|
sys.path.append(str(Path("src").resolve()))
|
||||||
|
from onyx import OnyxCLI
|
||||||
|
|
||||||
|
cli = OnyxCLI()
|
||||||
|
# Mock config to point to our test vault
|
||||||
|
cli.config_file = Path("test_config.yaml").resolve()
|
||||||
|
cli.config_file.write_text(f"default_vault: test\nvaults:\n test: {str(vault_path).replace(os.sep, '/')}", encoding="utf-8")
|
||||||
|
|
||||||
|
print("\n--- Reading note with OnyxCLI ---")
|
||||||
|
try:
|
||||||
|
# This calls read_text() internally.
|
||||||
|
# With our fix (utf-8-sig), it should read utf-8 (no BOM) correctly too.
|
||||||
|
cli.print_note(note_name, vault="test")
|
||||||
|
except Exception as e:
|
||||||
|
print(f"Error reading note: {e}")
|
||||||
|
|
||||||
|
print("\n--- Creating note with OnyxCLI ---")
|
||||||
|
new_note_name = "french_cli_created.md"
|
||||||
|
new_content = "Hélène et François"
|
||||||
|
try:
|
||||||
|
cli.create_note(new_note_name, content=new_content, vault="test", overwrite=True)
|
||||||
|
# Check how it was saved
|
||||||
|
saved_path = vault_path / new_note_name
|
||||||
|
# Read as bytes to check for BOM
|
||||||
|
raw_bytes = saved_path.read_bytes()
|
||||||
|
print(f"Saved bytes: {raw_bytes}")
|
||||||
|
|
||||||
|
if raw_bytes.startswith(b'\xef\xbb\xbf'):
|
||||||
|
print("SUCCESS: BOM detected")
|
||||||
|
else:
|
||||||
|
print("FAILURE: No BOM detected")
|
||||||
|
|
||||||
|
# Try reading it back with utf-8-sig (which handles BOM)
|
||||||
|
print(f"Content read back as utf-8-sig: {saved_path.read_text(encoding='utf-8-sig')}")
|
||||||
|
except Exception as e:
|
||||||
|
print(f"Error creating/checking note: {e}")
|
||||||
Binary file not shown.
@@ -29,16 +29,16 @@ class OnyxCLI:
|
|||||||
def _ensure_config_exists(self):
|
def _ensure_config_exists(self):
|
||||||
self.config_file.parent.mkdir(parents=True, exist_ok=True)
|
self.config_file.parent.mkdir(parents=True, exist_ok=True)
|
||||||
if not self.config_file.exists():
|
if not self.config_file.exists():
|
||||||
self.config_file.write_text(yaml.dump({'default_vault': None, 'vaults': {}}))
|
self.config_file.write_text(yaml.dump({'default_vault': None, 'vaults': {}}), encoding='utf-8-sig')
|
||||||
|
|
||||||
def _load_default_vault(self):
|
def _load_default_vault(self):
|
||||||
if self.config_file.exists():
|
if self.config_file.exists():
|
||||||
config = yaml.safe_load(self.config_file.read_text())
|
config = yaml.safe_load(self.config_file.read_text(encoding='utf-8-sig'))
|
||||||
return config.get('default_vault')
|
return config.get('default_vault')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def _get_vault_path(self, vault_name: str) -> Path:
|
def _get_vault_path(self, vault_name: str) -> Path:
|
||||||
config = yaml.safe_load(self.config_file.read_text())
|
config = yaml.safe_load(self.config_file.read_text(encoding='utf-8-sig'))
|
||||||
vault_path = config.get('vaults', {}).get(vault_name)
|
vault_path = config.get('vaults', {}).get(vault_name)
|
||||||
if not vault_path:
|
if not vault_path:
|
||||||
raise click.UsageError(f"Vault '{vault_name}' not found in config")
|
raise click.UsageError(f"Vault '{vault_name}' not found in config")
|
||||||
@@ -63,7 +63,7 @@ class OnyxCLI:
|
|||||||
periodic_notes_config = vault_path / ".obsidian" / "plugins" / "periodic-notes" / "data.json"
|
periodic_notes_config = vault_path / ".obsidian" / "plugins" / "periodic-notes" / "data.json"
|
||||||
if periodic_notes_config.exists():
|
if periodic_notes_config.exists():
|
||||||
try:
|
try:
|
||||||
config = json.loads(periodic_notes_config.read_text())
|
config = json.loads(periodic_notes_config.read_text(encoding='utf-8-sig'))
|
||||||
daily_config = config.get('daily', {})
|
daily_config = config.get('daily', {})
|
||||||
|
|
||||||
# Check if daily notes are enabled in Periodic Notes
|
# Check if daily notes are enabled in Periodic Notes
|
||||||
@@ -80,7 +80,7 @@ class OnyxCLI:
|
|||||||
daily_notes_config = vault_path / ".obsidian" / "daily-notes.json"
|
daily_notes_config = vault_path / ".obsidian" / "daily-notes.json"
|
||||||
if daily_notes_config.exists():
|
if daily_notes_config.exists():
|
||||||
try:
|
try:
|
||||||
config = json.loads(daily_notes_config.read_text())
|
config = json.loads(daily_notes_config.read_text(encoding='utf-8-sig'))
|
||||||
return {
|
return {
|
||||||
'format': config.get('format', 'YYYY-MM-DD'),
|
'format': config.get('format', 'YYYY-MM-DD'),
|
||||||
'folder': config.get('folder', ''),
|
'folder': config.get('folder', ''),
|
||||||
@@ -98,7 +98,7 @@ class OnyxCLI:
|
|||||||
|
|
||||||
def set_default_vault(self, vault_name: str, vault_path: str = None):
|
def set_default_vault(self, vault_name: str, vault_path: str = None):
|
||||||
try:
|
try:
|
||||||
config = yaml.safe_load(self.config_file.read_text()) if self.config_file.exists() else {}
|
config = yaml.safe_load(self.config_file.read_text(encoding='utf-8-sig')) if self.config_file.exists() else {}
|
||||||
except Exception:
|
except Exception:
|
||||||
config = {}
|
config = {}
|
||||||
|
|
||||||
@@ -118,11 +118,11 @@ class OnyxCLI:
|
|||||||
# If no path and vault doesn't exist, show error
|
# If no path and vault doesn't exist, show error
|
||||||
raise click.UsageError(
|
raise click.UsageError(
|
||||||
f"Vault '{vault_name}' not found. Please provide the path when setting a new vault:\n"
|
f"Vault '{vault_name}' not found. Please provide the path when setting a new vault:\n"
|
||||||
f"ob-cli set-default \"{vault_name}\" --path \"path/to/vault\""
|
f"onyx set-default \"{vault_name}\" --path \"path/to/vault\""
|
||||||
)
|
)
|
||||||
|
|
||||||
config['default_vault'] = vault_name
|
config['default_vault'] = vault_name
|
||||||
self.config_file.write_text(yaml.dump(config))
|
self.config_file.write_text(yaml.dump(config), encoding='utf-8-sig')
|
||||||
self.default_vault = vault_name
|
self.default_vault = vault_name
|
||||||
|
|
||||||
actual_path = config['vaults'][vault_name]
|
actual_path = config['vaults'][vault_name]
|
||||||
@@ -134,13 +134,13 @@ class OnyxCLI:
|
|||||||
click.echo("No default vault set")
|
click.echo("No default vault set")
|
||||||
return
|
return
|
||||||
|
|
||||||
config = yaml.safe_load(self.config_file.read_text())
|
config = yaml.safe_load(self.config_file.read_text(encoding='utf-8-sig'))
|
||||||
vault_path = config.get('vaults', {}).get(self.default_vault)
|
vault_path = config.get('vaults', {}).get(self.default_vault)
|
||||||
|
|
||||||
if not vault_path:
|
if not vault_path:
|
||||||
raise click.UsageError(
|
raise click.UsageError(
|
||||||
f"Vault '{self.default_vault}' not found in config. Please set it up with:\n"
|
f"Vault '{self.default_vault}' not found in config. Please set it up with:\n"
|
||||||
f"ob-cli set-default \"{self.default_vault}\" --path \"path/to/vault\""
|
f"onyx set-default \"{self.default_vault}\" --path \"path/to/vault\""
|
||||||
)
|
)
|
||||||
|
|
||||||
click.echo(f"Default vault: {self.default_vault}")
|
click.echo(f"Default vault: {self.default_vault}")
|
||||||
@@ -165,7 +165,7 @@ class OnyxCLI:
|
|||||||
else:
|
else:
|
||||||
mode = 'w'
|
mode = 'w'
|
||||||
|
|
||||||
with note_path.open(mode) as f:
|
with note_path.open(mode, encoding='utf-8-sig') as f:
|
||||||
if append and note_path.exists():
|
if append and note_path.exists():
|
||||||
f.write('\n')
|
f.write('\n')
|
||||||
f.write(content)
|
f.write(content)
|
||||||
@@ -280,7 +280,7 @@ class OnyxCLI:
|
|||||||
periodic_notes_config = vault_path / ".obsidian" / "plugins" / "periodic-notes" / "data.json"
|
periodic_notes_config = vault_path / ".obsidian" / "plugins" / "periodic-notes" / "data.json"
|
||||||
if periodic_notes_config.exists():
|
if periodic_notes_config.exists():
|
||||||
try:
|
try:
|
||||||
config = json.loads(periodic_notes_config.read_text())
|
config = json.loads(periodic_notes_config.read_text(encoding='utf-8-sig'))
|
||||||
note_config = config.get(note_type, {})
|
note_config = config.get(note_type, {})
|
||||||
if note_config.get('enabled', False):
|
if note_config.get('enabled', False):
|
||||||
settings = {
|
settings = {
|
||||||
@@ -315,7 +315,7 @@ class OnyxCLI:
|
|||||||
if not template_path.suffix:
|
if not template_path.suffix:
|
||||||
template_path = template_path.with_suffix('.md')
|
template_path = template_path.with_suffix('.md')
|
||||||
if template_path.exists():
|
if template_path.exists():
|
||||||
content = template_path.read_text()
|
content = template_path.read_text(encoding='utf-8-sig')
|
||||||
|
|
||||||
# Construct note path with folder
|
# Construct note path with folder
|
||||||
folder = settings['folder']
|
folder = settings['folder']
|
||||||
@@ -365,7 +365,7 @@ class OnyxCLI:
|
|||||||
if not note_path.exists():
|
if not note_path.exists():
|
||||||
raise click.UsageError(f"Note {note_name} does not exist")
|
raise click.UsageError(f"Note {note_name} does not exist")
|
||||||
|
|
||||||
click.echo(note_path.read_text())
|
click.echo(note_path.read_text(encoding='utf-8-sig'))
|
||||||
|
|
||||||
def move_note(self, current_path: str, new_path: str, vault: str = None, open_after: bool = False):
|
def move_note(self, current_path: str, new_path: str, vault: str = None, open_after: bool = False):
|
||||||
vault_name, vault_path = self._get_vault_and_path(vault)
|
vault_name, vault_path = self._get_vault_and_path(vault)
|
||||||
@@ -390,10 +390,10 @@ class OnyxCLI:
|
|||||||
|
|
||||||
for md_file in vault_path.rglob("*.md"):
|
for md_file in vault_path.rglob("*.md"):
|
||||||
if md_file != new: # Skip the moved file
|
if md_file != new: # Skip the moved file
|
||||||
content = md_file.read_text()
|
content = md_file.read_text(encoding='utf-8-sig')
|
||||||
updated_content = re.sub(old_link_pattern, new_link, content)
|
updated_content = re.sub(old_link_pattern, new_link, content)
|
||||||
if updated_content != content:
|
if updated_content != content:
|
||||||
md_file.write_text(updated_content)
|
md_file.write_text(updated_content, encoding='utf-8-sig')
|
||||||
|
|
||||||
click.echo(f"Moved {current_path} to {new_path}")
|
click.echo(f"Moved {current_path} to {new_path}")
|
||||||
|
|
||||||
@@ -427,7 +427,7 @@ class OnyxCLI:
|
|||||||
return {}, content, 0
|
return {}, content, 0
|
||||||
|
|
||||||
def _update_frontmatter(self, note_path: Path, updates: dict):
|
def _update_frontmatter(self, note_path: Path, updates: dict):
|
||||||
content = note_path.read_text()
|
content = note_path.read_text(encoding='utf-8-sig')
|
||||||
frontmatter, rest_content, fm_length = self._parse_frontmatter(content)
|
frontmatter, rest_content, fm_length = self._parse_frontmatter(content)
|
||||||
|
|
||||||
frontmatter.update(updates)
|
frontmatter.update(updates)
|
||||||
@@ -437,7 +437,7 @@ class OnyxCLI:
|
|||||||
new_content += '---\n'
|
new_content += '---\n'
|
||||||
new_content += rest_content if fm_length else content
|
new_content += rest_content if fm_length else content
|
||||||
|
|
||||||
note_path.write_text(new_content)
|
note_path.write_text(new_content, encoding='utf-8-sig')
|
||||||
|
|
||||||
def frontmatter_edit(self, note_name: str, key: str, value: str = None, vault: str = None):
|
def frontmatter_edit(self, note_name: str, key: str, value: str = None, vault: str = None):
|
||||||
vault_name, vault_path = self._get_vault_and_path(vault)
|
vault_name, vault_path = self._get_vault_and_path(vault)
|
||||||
@@ -483,7 +483,7 @@ class OnyxCLI:
|
|||||||
if not note_path.exists():
|
if not note_path.exists():
|
||||||
raise click.UsageError(f"Note {note_name} does not exist")
|
raise click.UsageError(f"Note {note_name} does not exist")
|
||||||
|
|
||||||
content = note_path.read_text()
|
content = note_path.read_text(encoding='utf-8-sig')
|
||||||
frontmatter, _, _ = self._parse_frontmatter(content)
|
frontmatter, _, _ = self._parse_frontmatter(content)
|
||||||
|
|
||||||
if key not in frontmatter:
|
if key not in frontmatter:
|
||||||
@@ -538,7 +538,7 @@ class OnyxCLI:
|
|||||||
if not note_path.exists():
|
if not note_path.exists():
|
||||||
raise click.UsageError(f"Note {note_name} does not exist")
|
raise click.UsageError(f"Note {note_name} does not exist")
|
||||||
|
|
||||||
content = note_path.read_text()
|
content = note_path.read_text(encoding='utf-8-sig')
|
||||||
frontmatter, rest_content, _ = self._parse_frontmatter(content)
|
frontmatter, rest_content, _ = self._parse_frontmatter(content)
|
||||||
|
|
||||||
keys = [k.strip() for k in re.split(r',|\[|\]', key) if k.strip()]
|
keys = [k.strip() for k in re.split(r',|\[|\]', key) if k.strip()]
|
||||||
@@ -558,7 +558,7 @@ class OnyxCLI:
|
|||||||
else:
|
else:
|
||||||
new_content = rest_content
|
new_content = rest_content
|
||||||
|
|
||||||
note_path.write_text(new_content)
|
note_path.write_text(new_content, encoding='utf-8-sig')
|
||||||
click.echo(f"Deleted frontmatter keys from {note_name}")
|
click.echo(f"Deleted frontmatter keys from {note_name}")
|
||||||
else:
|
else:
|
||||||
click.echo("No matching keys found in frontmatter")
|
click.echo("No matching keys found in frontmatter")
|
||||||
@@ -578,20 +578,20 @@ class OnyxCLI:
|
|||||||
|
|
||||||
# CLI Commands
|
# CLI Commands
|
||||||
|
|
||||||
@click.group(name='ob-cli')
|
@click.group(name='onyx')
|
||||||
def cli():
|
def cli():
|
||||||
"""Onyx CLI - Interact with Obsidian vaults from the command line
|
"""Onyx - Interact with Obsidian vaults from the command line
|
||||||
|
|
||||||
Manage your Obsidian notes, frontmatter, and periodic notes directly from the terminal.
|
Manage your Obsidian notes, frontmatter, and periodic notes directly from the terminal.
|
||||||
|
|
||||||
EXAMPLES:
|
EXAMPLES:
|
||||||
ob-cli open "my-note"
|
onyx open "my-note"
|
||||||
ob-cli daily
|
onyx daily
|
||||||
ob-cli frontmatter "my-note" --view --key "tags"
|
onyx frontmatter "my-note" --view --key "tags"
|
||||||
ob-cli --version
|
onyx --version
|
||||||
|
|
||||||
For more help on a specific command:
|
For more help on a specific command:
|
||||||
ob-cli COMMAND --help
|
onyx COMMAND --help
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@@ -602,7 +602,7 @@ def set_default(vault_name, path):
|
|||||||
"""Set or switch the default vault
|
"""Set or switch the default vault
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
ob-cli set-default VAULT_NAME --path /path/to/vault
|
onyx set-default VAULT_NAME --path /path/to/vault
|
||||||
"""
|
"""
|
||||||
# Convert Windows backslashes to forward slashes if needed
|
# Convert Windows backslashes to forward slashes if needed
|
||||||
if path:
|
if path:
|
||||||
@@ -623,8 +623,8 @@ def open(note_name, vault):
|
|||||||
Searches for the note in the vault and opens it in Obsidian. Supports nested directories.
|
Searches for the note in the vault and opens it in Obsidian. Supports nested directories.
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
ob-cli open "my-note"
|
onyx open "my-note"
|
||||||
ob-cli open "folder/my-note"
|
onyx open "folder/my-note"
|
||||||
"""
|
"""
|
||||||
OnyxCLI().open_note(note_name, vault)
|
OnyxCLI().open_note(note_name, vault)
|
||||||
|
|
||||||
@@ -671,8 +671,8 @@ def create(note_name, content, vault, overwrite, append, open_after):
|
|||||||
"""Create or modify a note in the vault
|
"""Create or modify a note in the vault
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
ob-cli create "my-note"
|
onyx create "my-note"
|
||||||
ob-cli create "my-note" --content "Some content" --open
|
onyx create "my-note" --content "Some content" --open
|
||||||
"""
|
"""
|
||||||
OnyxCLI().create_note(note_name, content, vault, overwrite, append, open_after)
|
OnyxCLI().create_note(note_name, content, vault, overwrite, append, open_after)
|
||||||
|
|
||||||
@@ -694,8 +694,8 @@ def move(current_path, new_path, vault, open_after):
|
|||||||
Automatically updates all [[links]] pointing to this note in other vault files.
|
Automatically updates all [[links]] pointing to this note in other vault files.
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
ob-cli move "old-name" "new-name"
|
onyx move "old-name" "new-name"
|
||||||
ob-cli move "old-folder/note" "new-folder/note"
|
onyx move "old-folder/note" "new-folder/note"
|
||||||
"""
|
"""
|
||||||
OnyxCLI().move_note(current_path, new_path, vault, open_after)
|
OnyxCLI().move_note(current_path, new_path, vault, open_after)
|
||||||
|
|
||||||
@@ -721,9 +721,9 @@ def frontmatter_command(note_name, edit, view, clear, delete, key, value, vault)
|
|||||||
Must specify exactly one action: --edit, --view, --clear, or --delete
|
Must specify exactly one action: --edit, --view, --clear, or --delete
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
ob-cli frontmatter "my-note" --view --key "tags"
|
onyx frontmatter "my-note" --view --key "tags"
|
||||||
ob-cli frontmatter "my-note" --edit --key "tags" --value "project,work"
|
onyx frontmatter "my-note" --edit --key "tags" --value "project,work"
|
||||||
ob-cli frontmatter "my-note" --delete --key "date"
|
onyx frontmatter "my-note" --delete --key "date"
|
||||||
"""
|
"""
|
||||||
cli = OnyxCLI()
|
cli = OnyxCLI()
|
||||||
if sum([edit, view, clear, delete]) != 1:
|
if sum([edit, view, clear, delete]) != 1:
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
default_vault: test
|
||||||
|
vaults:
|
||||||
|
test: C:/Users/oli/Documents/o/Resources/repos/Onyx - obsidian cli tool/test_vault
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Hélène et François
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
C'est l'été à Paris. Ça va bien?
|
||||||
@@ -1,9 +1,8 @@
|
|||||||
import unittest
|
|
||||||
import os
|
import os
|
||||||
import yaml
|
import yaml
|
||||||
import shutil
|
import shutil
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from src.obsidian_cli import OnyxCLI
|
from src.onyx import OnyxCLI
|
||||||
from unittest.mock import patch, MagicMock
|
from unittest.mock import patch, MagicMock
|
||||||
import click
|
import click
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|||||||
Reference in new issue
Block a user