|
| 1 | +--- |
| 2 | +title: "Usage" |
| 3 | +date: 2024-01-12T14:52:40+01:00 |
| 4 | +draft: true |
| 5 | +--- |
| 6 | + |
| 7 | +Gyroscops also allows you to have your satellites stored in the cloud. |
| 8 | + |
| 9 | +Thanks to the cloud executable provided by the package `php-etl/satellite`, |
| 10 | +you can manage your satellites quickly and easily thanks to command lines. |
| 11 | + |
| 12 | +## Requirements |
| 13 | + |
| 14 | +Before you start, make sure you have installed the utility in your project. |
| 15 | + |
| 16 | +If you haven't already done so, simply run this command: |
| 17 | + |
| 18 | +```shell |
| 19 | +composer require php-etl/satellite:'*' |
| 20 | +``` |
| 21 | + |
| 22 | +## Log into the API |
| 23 | + |
| 24 | +The `login` command is used to establish a connection with the Gyroscops API, allowing access to the various functionalities. |
| 25 | +Before executing this command, make sure you have the necessary identification information to hand. |
| 26 | + |
| 27 | +```shell |
| 28 | +bin/cloud login |
| 29 | +``` |
| 30 | + |
| 31 | +> The service may ask you to select your organization and your workspace. |
| 32 | +
|
| 33 | +### Options |
| 34 | +- `-u`, `--url`: Base URL of the cloud instance [default: "https://app.gyroscops.com"] |
| 35 | +- `--beta`: Shortcut to set the cloud instance to https://beta.gyroscops.com |
| 36 | +- `--ssl`|`--no-ssl`: Enable or disable SSL |
| 37 | +- `--help`: Display help for the given command |
| 38 | + |
| 39 | +See the following sections of this documentation for details of the various commands. |
| 40 | + |
| 41 | +## Create your satellite |
| 42 | + |
| 43 | +The `create` command is used to create a satellite associated with your account. |
| 44 | + |
| 45 | +```shell |
| 46 | +php bin/cloud create <path/to/satellite.yaml> |
| 47 | +``` |
| 48 | + |
| 49 | +### Options |
| 50 | +- `-u`, `--url`: Base URL of the cloud instance [default: "https://app.gyroscops.com"] |
| 51 | +- `--beta`: Shortcut to set the cloud instance to https://beta.gyroscops.com |
| 52 | +- `--ssl`|`--no-ssl`: Enable or disable SSL |
| 53 | +- `--help`: Display help for the given command |
| 54 | + |
| 55 | +Once you have created your satellite, you can access its configuration from the interface by following these steps: |
| 56 | + |
| 57 | +- Enter the following URL in the address bar: https://app.gyroscops.com (or https://beta.gyroscops.com) |
| 58 | +- Log in with your credentials |
| 59 | + |
| 60 | +## Update your satellite |
| 61 | + |
| 62 | +The `update` command is used to update a given satellite. |
| 63 | + |
| 64 | +```shell |
| 65 | +php bin/cloud update <path/to/satellite.yaml> |
| 66 | +``` |
| 67 | + |
| 68 | +### Options |
| 69 | +- `-u`, `--url`: Base URL of the cloud instance [default: "https://app.gyroscops.com"] |
| 70 | +- `--beta`: Shortcut to set the cloud instance to https://beta.gyroscops.com |
| 71 | +- `--ssl`|`--no-ssl`: Enable or disable SSL |
| 72 | +- `--help`: Display help for the given command |
| 73 | + |
| 74 | +## Remove your satellite |
| 75 | + |
| 76 | +The `remove` command is used to remove a given satellite. |
| 77 | + |
| 78 | +```shell |
| 79 | +php bin/cloud remove <path/to/satellite.yaml> |
| 80 | +``` |
| 81 | + |
| 82 | +### Options |
| 83 | +- `-u`, `--url`: Base URL of the cloud instance [default: "https://app.gyroscops.com"] |
| 84 | +- `--beta`: Shortcut to set the cloud instance to https://beta.gyroscops.com |
| 85 | +- `--ssl`|`--no-ssl`: Enable or disable SSL |
| 86 | +- `--help`: Display help for the given command |
| 87 | + |
| 88 | +## Other commands |
| 89 | + |
| 90 | +In addition to the main commands we have already explored, this command line utility offers a number of additional features. |
| 91 | +These commands can be useful in a variety of situations. |
| 92 | + |
| 93 | +For a list of these commands, use the following command: |
| 94 | + |
| 95 | +```shell |
| 96 | +bin/cloud list |
| 97 | +``` |
0 commit comments