58 lines
1.3 KiB
Markdown
58 lines
1.3 KiB
Markdown
# Pyn
|
|
|
|
Command line interface to opinionated note storage.
|
|
|
|
## Folder Structure
|
|
|
|
```
|
|
- notes
|
|
- home
|
|
- 2025-10-10-shopping.md
|
|
- 2025-10-13-holiday_plans.md
|
|
- 2025-10-14-shopping.md
|
|
- 2025-10-19-todo.md
|
|
- 2025-10-23-links.md
|
|
- projects
|
|
- xmon
|
|
- 2025-10-08-links.md
|
|
- 2025-10-10-design_guide.md
|
|
- wso
|
|
- admin
|
|
- 2025-09-02-minutes.md
|
|
- 2025-10-03-minutes.md
|
|
- projects
|
|
- childrens_concert
|
|
- 2025-10-03-budget.md
|
|
|
|
```
|
|
|
|
## Examples
|
|
```bash
|
|
# create a new file in the wso/admin folder and open the editor
|
|
pyn add wso/admin minutes
|
|
|
|
# edit the most recent version
|
|
pyn edit wso/admin minutes
|
|
|
|
# or a specific one - all arguments are fuzzy
|
|
pyn edit wso/admin 2025-09 minutes
|
|
|
|
pyn edit projects/xmon References
|
|
# or pyn edit projects/xmon 2025-10-08-references
|
|
pyn add home Shopping
|
|
pyn edit home Shopping # opens the most recent version
|
|
|
|
pyn todo add home Do a thing # adds '* Do a thing' after the last list element in /home/2025-19-19-todo.md
|
|
|
|
pyn todo create home Turn over a new leaf # start a new todo in home
|
|
|
|
pyn links home https://google.com The eponymous search engine.
|
|
|
|
pyn cat links # show all the links from every notebook
|
|
pyn cat projects links # show all project links - arguments are fuzzy
|
|
|
|
pyn render wso/projects ch co budget
|
|
|
|
pyn git push
|
|
```
|