Skip to content

Commit

Permalink
Update CLI storage upload README
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrov-d committed Feb 7, 2024
1 parent 3531d38 commit 85f6355
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build/1-apillon-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,7 @@ If a project's credit balance is lower than price of executed action, API will r
...
}
```

## API Code Examples

Examples for using the Apillon API in PHP, .NET (C#) and Python can be found on [our code examples github repo](https://github.com/Apillon/code-examples)
5 changes: 4 additions & 1 deletion build/6-apillon-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,14 @@ Upload contents of a local folder to specified bucket.

- `<folder-path>`: Path to the folder containing your files.
- `-b, --bucket-uuid <string>`: UUID of the bucket to upload files to.
- `-w, --wrap`: Wrap uploaded files to an IPFS directory
- `-p, --path <string>`: Path to upload files to (e.g. main/subdir). Required when --wrap is supplied.
- `--await`: await file CIDs to be resolved

**Example**

```sh
apillon storage upload ./my_folder --bucket-uuid "123e4567-e89b-12d3-a456-426655440000"
apillon storage upload ./my_folder --bucket-uuid "123e4567-e89b-12d3-a456-426655440000" --wrap --path "main/subdir"
```

#### `storage get-file`
Expand Down

0 comments on commit 85f6355

Please sign in to comment.