Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plugin documentation #1502

Merged
merged 2 commits into from
Sep 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
clarify init_hook
  • Loading branch information
Lagoja authored Sep 22, 2023
commit 127b37e0b03051fad6a4c30d3237c39a1331a319
6 changes: 4 additions & 2 deletions docs/app/docs/guides/creating_plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ Will copy the Caddyfile in the `plugins/caddy` folder to `devbox.d/caddy/Caddyfi

You should use this to copy starter config files or templates needed to run the plugin's package.

#### `init_hook` *string | string[]*
#### `shell.init_hook` *string | string[]*

A single `bash` command or list of `bash` commands that should run before the user's shell is initialized. This will run every time a shell is started, so you should avoid any resource heavy or long running processes in this step.
A single `bash` command or list of `bash` commands that should run before the user's shell is initialized.

This will run every time a shell is started, so you should avoid any resource heavy or long running processes in this step.

### Adding Services

Expand Down