이 콘텐츠는 선택한 언어로 제공되지 않습니다.
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 링크 복사링크가 클립보드에 복사되었습니다!
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 링크 복사링크가 클립보드에 복사되었습니다!
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 링크 복사링크가 클립보드에 복사되었습니다!
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 링크 복사링크가 클립보드에 복사되었습니다!
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 링크 복사링크가 클립보드에 복사되었습니다!
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