8000 wip: readme · jaypyles/obsidian-to-bookstack@e479433 · GitHub
[go: up one dir, main page]

Skip to content

Commit e479433

Browse files
committed
wip: readme
1 parent 68204bb commit e479433

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Run with `pipx install .` inside the project to install to your machine.
2222

2323
# Config
2424

25-
You can use a `.env` file in the root of your project for the following secrets:
25+
You can use a `.env` file for the following secrets:
2626

2727
`BOOKSTACK_BASE_URL="https://demo.bookstack.com"`
2828

@@ -31,8 +31,9 @@ You can use a `.env` file in the root of your project for the following secrets:
3131
`BOOKSTACK_TOKEN_SECRET=<your_bookstack_api_token_secret>`
3232

3333
or you may choose to use whatever secret manager you want, like Doppler, so long as it sets those environment variables.
34+
By default, the tool will look for `.env` in the root of the project, but can be set anywhere using the `--env` flag.
3435

35-
Make sure to setup a conf.toml in ~/.config/obsidian_to_bookstack, example:
36+
Configuration by default is located at `~/.config/obsidian_to_bookstack/conf.toml` but can also be set anywhere using the `--config` flag.
3637

3738
```toml
3839
[wiki]
@@ -98,12 +99,15 @@ Must be called in a path like structure. Ex:
9899
```bash
99100
- Shelf
100101
- Book
102+
- Chapter
103+
- Page.md
101104
- Page.md
102105
```
103106

104107
The command would be called as `obsidian_to_bookstack delete Shelf/Book/Page --page` to delete a page.
105108

106109
Optional configuration commands must be ran as:
110+
107111
`obsidian_to_bookstack --verbose --config ~/.config/.. --env ~/.config/... <command>`
108112

109113
## In Progress

0 commit comments

Comments
 (0)
0