1 <!-- WARNING: This file is generated by fetch_docs.js using /home/boron/Documents/AGL/docs-webtemplate/site/_data/tocs/devguides/master/xds-docs-guides-devguides-book.yml -->
7 `projects` (short `prj`) command should be used to managed XDS projects.
9 This command supports following sub-commands:
12 add, a Add a new project
13 get Get a property of a project
14 list, ls List existing projects
15 remove, rm Remove an existing project
16 sync Force synchronization of project sources
19 Here are some usage examples:
22 # Create/declare a new project
23 xds-cli prj add --label "myProjectName" --type pm -p /home/seb/xds-workspace/myProject -sp /home/devel/xds-workspace/myProject
28 # Delete an existing project
34 `sdks` (alias `sdk`) command should be used to managed cross SDKs.
36 This command supports following sub-commands:
39 get Get a property of a SDK
40 list, ls List installed SDKs
41 install, i Install a SDK
42 uninstall, rm UnInstall an existing SDK
43 abort, a Abort an install action
46 Here are some usage examples:
60 "[AGL SDKs](../../part-1/install-sdk.html)"
61 topic for details about SDK installation.
63 <!-- end-section-note -->
67 `exec` command should be used to exec command through XDS system.
69 For example you can use this command to build your project in XDS system.
71 This command supports following sub-commands:
73 `exec` command options are:
75 **`--id` option or `XDS_PROJECT_ID` env variable (**mandatory option**)**
77 project ID you want to build
79 **`--rpath` (short `-p`) or `XDS_RPATH` env variable**
81 relative path into project
83 **`--sdkid` (alias `--sdk`) or `XDS_SDK_ID` env variable (**mandatory option**)**
85 Cross Sdk ID to use to build project.
87 Here are some usage examples:
93 # Generate build system using cmake
94 xds-cli exec --id=4021 --sdkid=c226 -- "cd build && cmake .."
97 xds-cli exec --id=4021 --sdkid=c226 -- "cd build && make all"
100 In case of `xds-agent` is not running on default url:port (that is `localhost:8800`)
102 You can specify the url using `--url` option :
105 xds-cli --url=http://localhost:8800 exec --id=4021 --sdkid=c226 -- "cd build && make all"
110 `misc` command allows to execute miscellaneous sub-commands such as:
113 version, v Get version of XDS agent and XDS server
114 status, sts Get XDS configuration status (including XDS server connection)
117 Here are some usage examples:
120 xds-cli misc version --verbose