mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
Add companies.sh import wrapper
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
56a39fea3d
commit
66d84ccfa3
4 changed files with 202 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ pnpm paperclipai company import \
|
|||
--target new \
|
||||
--new-company-name "Acme Imported" \
|
||||
--include company,agents
|
||||
|
||||
# Repo helper wrapper with the same source-first ergonomics
|
||||
./companies.sh org/repo/company-template --target new --dry-run
|
||||
```
|
||||
|
||||
## Agent Commands
|
||||
|
|
|
|||
|
|
@ -92,6 +92,13 @@ paperclipai company import org/repo
|
|||
paperclipai company import org/repo/companies/acme
|
||||
```
|
||||
|
||||
If you are working inside the Paperclip repo, `./companies.sh` is a thin wrapper around `paperclipai company import`. It accepts the same source-first form and still supports legacy `--from <path-or-url>` compatibility:
|
||||
|
||||
```sh
|
||||
./companies.sh org/repo/companies/acme --dry-run
|
||||
./companies.sh --from ./my-export --target existing --company-id abc123
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Description | Default |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue