@@ -240,7 +240,7 @@ Returns a list of objects that are pinned to a remote pinning service.
LongDescription: `
Returns a list of objects that are pinned to a remote pinning service.
NOTE: by default it will only show matching objects in 'pinned' state.
NOTE: By default, it will only show matching objects in 'pinned' state.
Pass '--status=queued,pinning,pinned,failed' to list pins in all states.
`,
},
...
...
@@ -248,8 +248,8 @@ Pass '--status=queued,pinning,pinned,failed' to list pins in all states.
Arguments: []cmds.Argument{},
Options: []cmds.Option{
pinServiceNameOption,
cmds.StringOption(pinNameOptionName,"Return pins with names that contain provided value (case-sensitive, exact match)."),
cmds.DelimitedStringsOption(",",pinCIDsOptionName,"Return pins for the specified CIDs (commaseparated)."),
cmds.StringOption(pinNameOptionName, "Return pins with names that contain the value provided (case-sensitive, exact match)."),
cmds.DelimitedStringsOption(",", pinCIDsOptionName, "Return pins for the specified CIDs (comma-separated)."),
cmds.DelimitedStringsOption(",", pinStatusOptionName, "Return pins with the specified statuses (queued,pinning,pinned,failed).").WithDefault([]string{"pinned"}),
},
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {