Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ USAGE:
scw ipfs pin create-by-cid [arg=value ...]

ARGS:
volume-id Volume ID on which you want to pin your content
cid CID containing the content you want to pin
[origins.{index}] Node containing the content you want to pin
[name] Pin name
[pin-options.required-zones.{index}]
[pin-options.replication-count]
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
volume-id Volume ID on which you want to pin your content
cid CID containing the content you want to pin
[origins.{index}] Node containing the content you want to pin
[name] Pin name
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

FLAGS:
-h, --help help for create-by-cid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ USAGE:
scw ipfs pin create-by-url [arg=value ...]

ARGS:
volume-id Volume ID on which you want to pin your content
url URL containing the content you want to pin
[name] Pin name
[pin-options.required-zones.{index}]
[pin-options.replication-count]
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
volume-id Volume ID on which you want to pin your content
url URL containing the content you want to pin
[name] Pin name
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

FLAGS:
-h, --help help for create-by-url
Expand Down
4 changes: 0 additions & 4 deletions docs/commands/ipfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ scw ipfs pin create-by-cid [arg=value ...]
| cid | Required | CID containing the content you want to pin |
| origins.{index} | | Node containing the content you want to pin |
| name | | Pin name |
| pin-options.required-zones.{index} | | |
| pin-options.replication-count | | |
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |


Expand All @@ -72,8 +70,6 @@ scw ipfs pin create-by-url [arg=value ...]
| volume-id | Required | Volume ID on which you want to pin your content |
| url | Required | URL containing the content you want to pin |
| name | | Pin name |
| pin-options.required-zones.{index} | | |
| pin-options.replication-count | | |
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |


Expand Down
24 changes: 0 additions & 24 deletions internal/namespaces/ipfs/v1alpha1/ipfs_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,18 +279,6 @@ A pin is defined by its ID (UUID), its status (queued, pinning, pinned or failed
Deprecated: false,
Positional: false,
},
{
Name: "pin-options.required-zones.{index}",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "pin-options.replication-count",
Required: false,
Deprecated: false,
Positional: false,
},
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down Expand Up @@ -346,18 +334,6 @@ A pin is defined by its ID (UUID), its status (queued, pinning, pinned or failed
Deprecated: false,
Positional: false,
},
{
Name: "pin-options.required-zones.{index}",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "pin-options.replication-count",
Required: false,
Deprecated: false,
Positional: false,
},
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down