YLang Header
Introduction Create Usage Example List Usage Example Show Usage Example Modify Usage Example Delete Usage Example This command is used to manage.
Table of Contents
Introduction
This command is used to manage YLang header files.
Create
Usage
Usage: orxray ylang-header create HEADER_FILE
GLOBAL OPTIONS:
--help
--config specify config file, default is ~/.orxray/config.
HEADER_FILE
Specify the Ylang header file you want to upload.
Example
Upload a YLang header file
$ orxray ylang-header create test.h
ID: 1
List
Usage
Usage: orxray ylang-header list
GLOBAL OPTIONS:
--help
--config specify config file, default is ~/.orxray/config.
Example
List the YLang header files you have already uploaded
$ orxray ylang-header list
ID NAME LANG SHA
61 test.h ylang 06577bd4a35a3fb866f891567b5a9ff67223c2f4422fb7629836d0cadb603ed3
Show
Usage
Usage: orxray ylang-header show HEADER_ID
GLOBAL OPTIONS:
--help
--config Specify the config file, default is ~/.orxray/config.
Example
Show a YLang header file
$ orxray ylang-header show 1
ID : 1
NAME: test.y
SHA : 06577bd4a35a3fb866f891567b5a9ff67223c2f4422fb7629836d0cadb603ed3
Modify
Usage
Usage: orxray ylang-header modify HEADER_ID HEADER_FILE
GLOBAL OPTIONS:
--help
--config Specify the config file, default is ~/.orxray/config.
Example
Modify a YLang header file
$ orxray ylang-header modify 1 test.y
OK
Delete
Usage
Usage: orxray ylang-header delete HEADER_ID
GLOBAL OPTIONS:
--help
--config specify config file, default is ~/.orxray/config.
HEADER_ID
Specify the YLang header file ID you want to delete.
Example
Delete a YLang header file
$ orxray ylang-header delete 1
OK