Este conteúdo não está disponível no idioma selecionado.
Chapter 12. bookmark
Manage bookmarks
Usage
hammer bookmark [OPTIONS] SUBCOMMAND [ARG] ...
# hammer bookmark [OPTIONS] SUBCOMMAND [ARG] ...
Options
-
-h,--help– Print help
12.1. bookmark create Copiar o linkLink copiado para a área de transferência!
Create a bookmark
Usage
hammer bookmark create [OPTIONS]
# hammer bookmark create [OPTIONS]
Options
-
--controller VALUE -
--location VALUE– Set the current location context for the request -
--location-id NUMBER– Set the current location context for the request -
--location-title VALUE– Set the current location context for the request -
--name VALUE -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Set the current organization context for the request -
--organization-title VALUE– Set the current organization context for the request -
--public BOOLEAN -
--query VALUE -
-h,--help– Print help
12.2. bookmark delete Copiar o linkLink copiado para a área de transferência!
Delete a bookmark
Usage
hammer bookmark <delete|destroy> [OPTIONS]
# hammer bookmark <delete|destroy> [OPTIONS]
Options
-
--id VALUE -
--location VALUE– Set the current location context for the request -
--location-id NUMBER– Set the current location context for the request -
--location-title VALUE– Set the current location context for the request -
--name VALUE– Name to search by -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Set the current organization context for the request -
--organization-title VALUE– Set the current organization context for the request -
-h,--help– Print help
12.3. bookmark info Copiar o linkLink copiado para a área de transferência!
Show a bookmark
Usage
hammer bookmark <info|show> [OPTIONS]
# hammer bookmark <info|show> [OPTIONS]
Options
-
--fields LIST– Show specified fields or predefined field sets only. (See below) -
--id VALUE -
--location VALUE– Set the current location context for the request -
--location-id NUMBER– Set the current location context for the request -
--location-title VALUE– Set the current location context for the request -
--name VALUE– Name to search by -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Set the current organization context for the request -
--organization-title VALUE– Set the current organization context for the request -
-h,--help– Print help
Predefined field sets
| FIELDS | ALL | DEFAULT | THIN |
|---|---|---|---|
| Id | x | x | x |
| Name | x | x | x |
| Controller | x | x | |
| Search query | x | x | |
| Public | x | x | |
| Owner id | x | x | |
| Owner type | x | x |
12.4. bookmark list Copiar o linkLink copiado para a área de transferência!
List all bookmarks
Usage
hammer bookmark <list|index> [OPTIONS]
# hammer bookmark <list|index> [OPTIONS]
Options
-
--fields LIST– Show specified fields or predefined field sets only. (See below) -
--location VALUE– Set the current location context for the request -
--location-id NUMBER– Set the current location context for the request -
--location-title VALUE– Set the current location context for the request -
--order VALUE– Sort and order by a searchable field, e.g.<field> DESC -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Set the current organization context for the request -
--organization-title VALUE– Set the current organization context for the request -
--page NUMBER– Page number, starting at 1 -
--per-page VALUE– Number of results per page to return,allto return all results -
--search VALUE– Filter results -
-h,--help– Print help
Predefined field sets
| FIELDS | ALL | DEFAULT | THIN |
|---|---|---|---|
| Id | x | x | x |
| Name | x | x | x |
| Controller | x | x | |
| Search query | x | x | |
| Public | x | x | |
| Owner id | x | x | |
| Owner type | x | x |
Search and order fields
-
controller– string -
id– integer -
name– string
12.5. bookmark update Copiar o linkLink copiado para a área de transferência!
Update a bookmark
Usage
hammer bookmark update [OPTIONS]
# hammer bookmark update [OPTIONS]
Options
-
--controller VALUE -
--id VALUE -
--location VALUE– Set the current location context for the request -
--location-id NUMBER– Set the current location context for the request -
--location-title VALUE– Set the current location context for the request -
--name VALUE -
--new-name VALUE -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Set the current organization context for the request -
--organization-title VALUE– Set the current organization context for the request -
--public BOOLEAN -
--query VALUE -
-h,--help– Print help