Skip to content

Commit

Permalink
Add files subcommand to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmdiaa committed Nov 8, 2023
1 parent 8ca39d4 commit 58a011d
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,47 @@ trickest library search subdomain takeover

[<img src="./banner.png" />](https://trickest.io/auth/register)


## Files command
Interact with the Trickest file storage

#### Get files
Use the **get** command with the **--file** flag to retrieve one or more files

```
trickest files get --file my_file.txt --output-dir out
```

| Flag | Type | Default | Description |
|----------------------|--------|----------|---------------------------------------------------------------------|
| --file | string | / | File or files (comma-separated) |
| --output-dir | string | / | Path to directory which should be used to store files (default ".") |
| --partial-name-match | boolean | / | Get all files with a partial name match |

#### Create files
Use the **create** command with the **--file** flag to upload one or more files

```
trickest files create --file targets.txt
```

| Flag | Type | Default | Description |
|----------------------|--------|----------|---------------------------------------------------------------------|
| --file | string | / | File or files (comma-separated) |


#### Delete files
Use the **delete** command with the **--file** flag to delete one or more files

```
trickest files delete --file delete_me.txt
```

| Flag | Type | Default | Description |
|----------------------|--------|----------|---------------------------------------------------------------------|
| --file | string | / | File or files (comma-separated) |


## Report Bugs / Feedback
We look forward to any feedback you want to share with us or if you're stuck with a problem you can contact us at [[email protected]](mailto:[email protected]).

Expand Down

0 comments on commit 58a011d

Please sign in to comment.