Commands: platforms
platforms and channels: state, sync, settings, mapping, import and go-live.
Overview
| Command | Mode | What it does |
|---|---|---|
channels settings | reads | Standing settings of one listing on one platform |
channels settings set | preview, then apply | Preview a platform settings change (markup, stay rules, paused) |
channels list | reads | Connected platforms with status, last sync and last error |
channels setup | reads | Go-live state of a platform |
channels test | reads | Ask the platform whether it still works |
channels resync | changes | Re-push prices and availability to a platform |
channels import | changes | Import rooms, prices and photos from a platform |
channels recover | changes | Recover platform bookings after an outage |
channels connect | host approves | Get the page where the host connects a platform (creates nothing) |
channels pause | host approves | Ask the host to pause a platform |
channels activate | host approves | Ask the host to activate a platform |
channels go-live | host approves | Ask the host to take a platform live |
channels map | host approves | Propose a room and rate mapping (the host confirms it) |
channels disconnect | host approves | Disconnect a platform: human only, prints the page where the host does it |
channels compare | reads | One connection side by side with Default and Website |
channels publish | host approves | Ask the host to publish a listing on a platform |
channels unpublish | host approves | Ask the host to unpublish a listing |
channels promotions | reads | Promotions of a listing |
channels promotions set | changes | Switch promotions on or off |
channels extranet-deals set | changes | Deals you run in a platform's own extranet (Genius, Mobile rate…): advice only, nothing is sent |
channels config | reads | A platform's own settings for all its listings (minimum stay counts, Szállás.hu sync mode), real time |
channels config set | changes | Change a platform's own settings (Rates and Availability asks the host) |
channels realtime-check | reads | Ask the platform again whether it sells from Hostemi's availability (Szállás.hu real-time allocation) |
channels hold-back | reads | Rooms held back from a platform, per listing with several rooms |
channels hold-back preview | reads | What holding rooms back would do, before saving |
channels hold-back set | changes | Hold rooms of a listing back from a platform (0 = none; the host approves holding back) |
channels platform-wide | reads | Which amount a booking carries, and how no-shows are reported |
channels no-show-policy | changes | Waive the no-show fee when a no-show is reported (Booking.com; the host approves) |
channels get | reads | One connection with its mappings and recent sync events |
channels held | reads | Bookings a platform sent that wait for a listing |
channels held link | changes | Put a waiting booking on one of your listings |
channels held retry | changes | Read the waiting bookings from the platform again |
channels available | reads | Platforms that can be connected, and how |
channels how-to-connect | reads | The steps to connect one platform (creates nothing) |
channels import-start | changes | Start bringing your listings in from a platform |
channels import-status | reads | The listings an import found |
channels import-apply | changes | Add the listings you pick from an import (connected, not live) |
channels status | reads | Connected platforms: state, last sync, last error |
platforms | = channels status | Connected platforms: state, last sync, last error |
platforms list | = channels status | Connected platforms: state, last sync, last error |
platforms connect | = channels connect | Get the page where the host connects a platform (creates nothing) |
platforms sync | = channels resync | Re-push prices and availability to a platform |
platforms pause | = channels pause | Ask the host to pause a platform |
platforms activate | = channels activate | Ask the host to activate a platform |
platforms publish | = channels publish | Ask the host to publish a listing on a platform |
platforms unpublish | = channels unpublish | Ask the host to unpublish a listing |
platforms settings | = channels settings | Standing settings of one listing on one platform |
platforms compare | = channels compare | One connection side by side with Default and Website |
Generated from hostemi help --json of hostemi 0.4.0: the same tree the CLI prints its help, its completions and its option checks from. Modes: what each one does.
platforms
hostemi platforms
Connected platforms: state, last sync, last error. A short name for hostemi channels status: it runs that command, with the arguments shown here and that command's options.
hostemi platforms [--property <id>]hostemi platforms list
Connected platforms: state, last sync, last error. A short name for hostemi channels status: it runs that command, with the arguments shown here and that command's options.
hostemi platforms list [--property <id>]hostemi platforms connect
Get the page where the host connects a platform (creates nothing). A short name for hostemi channels connect: it runs that command, with the arguments shown here and that command's options.
hostemi platforms connecthostemi platforms sync
Re-push prices and availability to a platform. A short name for hostemi channels resync: it runs that command, with the arguments shown here and that command's options.
hostemi platforms sync <id>hostemi platforms pause
Ask the host to pause a platform. A short name for hostemi channels pause: it runs that command, with the arguments shown here and that command's options.
hostemi platforms pause <id>hostemi platforms activate
Ask the host to activate a platform. A short name for hostemi channels activate: it runs that command, with the arguments shown here and that command's options.
hostemi platforms activate <id>hostemi platforms publish
Ask the host to publish a listing on a platform. A short name for hostemi channels publish: it runs that command, with the arguments shown here and that command's options.
hostemi platforms publish <id> <unitId>hostemi platforms unpublish
Ask the host to unpublish a listing. A short name for hostemi channels unpublish: it runs that command, with the arguments shown here and that command's options.
hostemi platforms unpublish <id> <unitId>hostemi platforms settings
Standing settings of one listing on one platform. A short name for hostemi channels settings: it runs that command, with the arguments shown here and that command's options.
hostemi platforms settings <id> <connectionId>hostemi platforms compare
One connection side by side with Default and Website. A short name for hostemi channels compare: it runs that command, with the arguments shown here and that command's options.
hostemi platforms compare <id> --unit <string>channels
hostemi channels settings
Standing settings of one listing on one platform. Reads only. Never asks.
hostemi channels settings <id> <connectionId>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing id |
<connectionId> | yes | Connected platform id |
Mode: reads · API: GET /public/v1/units/:id/channels/:connectionId/settings. Every command also takes the global options.
hostemi channels settings set
Preview a platform settings change (markup, stay rules, paused). Shows a preview first; applies with --yes or after you confirm. --dry-run stops at the preview.
hostemi channels settings set <id> <connectionId>| Argument | Required | Description |
|---|---|---|
<id> | yes | Listing id |
<connectionId> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--adjust-pct | number | Markup in percent (15 = +15 %) |
--adjust-bps | int | Markup in basis points (1500 = +15 %) |
--adjust | amount | Markup as an amount, major units |
--min-nights | int|none | Minimum nights (none = listing default) |
--max-nights | int|none | Maximum nights |
--advance-notice-hours | int|none | Advance notice, hours |
--max-advance-days | int|none | How far ahead guests may book, days |
--preparation-nights | int|none | Nights blocked between stays |
--paused | switch | on | off |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: preview, then apply · API: PUT /public/v1/units/:id/channels/:connectionId/settings. Every command also takes the global options.
hostemi channels list
Connected platforms with status, last sync and last error. Reads only. Never asks.
hostemi channels list| Option | Type | Description |
|---|---|---|
--property | string | Property id |
Mode: reads · API: GET /public/v1/connections. Every command also takes the global options.
hostemi channels setup
Go-live state of a platform. Reads only. Never asks.
hostemi channels setup <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
Mode: reads · API: GET /public/v1/connections/:id/lane-setup. Every command also takes the global options.
hostemi channels test
Ask the platform whether it still works. Reads only. Never asks.
hostemi channels test <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: reads · API: POST /public/v1/connections/:id/test. Every command also takes the global options.
hostemi channels resync
Re-push prices and availability to a platform. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels resync <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--scope | string | connection (default) | property (every platform of the property) |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: POST /public/v1/connections/:id/resync. Every command also takes the global options.
hostemi channels import
Import rooms, prices and photos from a platform. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels import <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: POST /public/v1/connections/:id/import. Every command also takes the global options.
hostemi channels recover
Recover platform bookings after an outage. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels recover --since <string>| Option | Type | Description |
|---|---|---|
--since | string | ISO 8601, at most 90 days ago Required. |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: POST /public/v1/connections/recover. Every command also takes the global options.
hostemi channels connect
Get the page where the host connects a platform (creates nothing). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi channels connect| Option | Type | Description |
|---|---|---|
--property | string | Property id |
--channel | string | Platform, e.g. AIRBNB, BOOKING_COM, SZALLAS_HU |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/connections/connect-start. Every command also takes the global options.
hostemi channels pause
Ask the host to pause a platform. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi channels pause <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/connections/:id/pause. Every command also takes the global options.
hostemi channels activate
Ask the host to activate a platform. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi channels activate <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/connections/:id/activate. Every command also takes the global options.
hostemi channels go-live
Ask the host to take a platform live. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi channels go-live <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--release-unresolved | switch | Release bookings that could not be matched |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/connections/:id/go-live. Every command also takes the global options.
hostemi channels map
Propose a room and rate mapping (the host confirms it). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi channels map <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--prices-win | string | HOSTEMI | CHANNEL |
--rate-plan-limit | int | Price plans per room |
--go-live | switch | Go live after mapping |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: PUT /public/v1/connections/:id/lane-setup/plan. Every command also takes the global options.
hostemi channels disconnect
Disconnect a platform: human only, prints the page where the host does it. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi channels disconnect <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: DELETE /public/v1/connections/:id. Every command also takes the global options.
hostemi channels compare
One connection side by side with Default and Website. Reads only. Never asks.
hostemi channels compare <id> --unit <string>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--unit | string | Listing id Required. |
Mode: reads · API: GET /public/v1/connections/:id/compare. Every command also takes the global options.
hostemi channels publish
Ask the host to publish a listing on a platform. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi channels publish <id> <unitId>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
<unitId> | yes | Listing id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/connections/:id/units/:unitId/publish. Every command also takes the global options.
hostemi channels unpublish
Ask the host to unpublish a listing. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).
hostemi channels unpublish <id> <unitId>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
<unitId> | yes | Listing id |
| Option | Type | Description |
|---|---|---|
--reason | string | A value from `listings unpublish-reasons` |
--details | string | Free text |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: host approves · API: POST /public/v1/connections/:id/units/:unitId/unpublish. Every command also takes the global options.
hostemi channels promotions
Promotions of a listing. Reads only. Never asks.
hostemi channels promotions <id> <unitId>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
<unitId> | yes | Listing id |
| Option | Type | Description |
|---|---|---|
--refresh | string | 1 = read the platform first |
Mode: reads · API: GET /public/v1/connections/:id/units/:unitId/promotions. Every command also takes the global options.
hostemi channels promotions set
Switch promotions on or off. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels promotions set <id> <unitId>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
<unitId> | yes | Listing id |
| Option | Type | Description |
|---|---|---|
--enable | list | Promotions to switch on: mobile, highly-rated, new-listing (or the platform type) |
--disable | list | Promotions to switch off |
--not-on | list | With one --enable: dates it does not apply to, YYYY-MM-DD (none = clear) |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: PUT /public/v1/connections/:id/units/:unitId/promotions. Every command also takes the global options.
hostemi channels promotions set conn_1 unit_1 --enable mobilehostemi channels extranet-deals set
Deals you run in a platform's own extranet (Genius, Mobile rate…): advice only, nothing is sent. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels extranet-deals set <id> <unitId> <deals…>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
<unitId> | yes | Listing id |
<deals> | yes | mobileRate, genius, deals, countryRates, member, lastMinute, earlyBird, lengthOfStay, nonRefundable (none = clear) |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: PUT /public/v1/connections/:id/units/:unitId/extranet-deals. Every command also takes the global options.
hostemi channels config
A platform's own settings for all its listings (minimum stay counts, Szállás.hu sync mode), real time. Reads only. Never asks.
hostemi channels config <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
Mode: reads · API: GET /public/v1/connections/:id/settings. Every command also takes the global options.
hostemi channels config set
Change a platform's own settings (Rates and Availability asks the host). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels config set <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--min-stay-type | string | Arrival (the arrival night) | Through (every night of the stay) One of: Arrival, Through. |
--sync-logic | string | Szállás.hu: what Hostemi sends there One of: Full connection, Full connection (no Stop Sell), Rates and Availability. |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: PUT /public/v1/connections/:id/settings. Every command also takes the global options.
hostemi channels config set conn_1 --min-stay-type Throughhostemi channels realtime-check
Ask the platform again whether it sells from Hostemi's availability (Szállás.hu real-time allocation). Reads only. Never asks.
hostemi channels realtime-check <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: reads · API: POST /public/v1/connections/:id/allocation-mode/check. Every command also takes the global options.
hostemi channels hold-back
Rooms held back from a platform, per listing with several rooms. Reads only. Never asks.
hostemi channels hold-back <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
Mode: reads · API: GET /public/v1/connections/:id/hold-backs. Every command also takes the global options.
hostemi channels hold-back preview
What holding rooms back would do, before saving. Reads only. Never asks.
hostemi channels hold-back preview <id> <unitId> --rooms <int>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
<unitId> | yes | Listing id |
| Option | Type | Description |
|---|---|---|
--rooms | int | Rooms to hold back Required. |
Mode: reads · API: GET /public/v1/connections/:id/units/:unitId/hold-back/preview. Every command also takes the global options.
hostemi channels hold-back set
Hold rooms of a listing back from a platform (0 = none; the host approves holding back). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels hold-back set <id> <unitId> --rooms <int>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
<unitId> | yes | Listing id |
| Option | Type | Description |
|---|---|---|
--rooms | int | Rooms to hold back (0 = none) Required. |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: PUT /public/v1/connections/:id/units/:unitId/hold-back. Every command also takes the global options.
hostemi channels hold-back set conn_1 unit_1 --rooms 1hostemi channels platform-wide
Which amount a booking carries, and how no-shows are reported. Reads only. Never asks.
hostemi channels platform-wide <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
Mode: reads · API: GET /public/v1/connections/:id/platform-wide. Every command also takes the global options.
hostemi channels no-show-policy
Waive the no-show fee when a no-show is reported (Booking.com; the host approves). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels no-show-policy <id> <waive>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
<waive> | yes | on | off | none |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: PUT /public/v1/connections/:id/no-show-policy. Every command also takes the global options.
hostemi channels no-show-policy conn_1 onhostemi channels get
One connection with its mappings and recent sync events. Reads only. Never asks.
hostemi channels get <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--mappings | string | CONTENT (default), ALL or one kind |
--limit | int | Events to show (default 100) |
Mode: reads · API: GET /public/v1/connections/:id. Every command also takes the global options.
hostemi channels held
Bookings a platform sent that wait for a listing. Reads only. Never asks.
hostemi channels held <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
Mode: reads · API: GET /public/v1/connections/:id/needs-mapping. Every command also takes the global options.
hostemi platforms held <platformId>hostemi channels held link
Put a waiting booking on one of your listings. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels held link <id> <bookingId> --listing <string>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
<bookingId> | yes | From: platforms held <platformId> |
| Option | Type | Description |
|---|---|---|
--listing | string | The listing the booking belongs to Required. |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: POST /public/v1/connections/:id/needs-mapping/:bookingId/link. Every command also takes the global options.
hostemi channels held retry
Read the waiting bookings from the platform again. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels held retry <id>| Argument | Required | Description |
|---|---|---|
<id> | yes | Connected platform id |
| Option | Type | Description |
|---|---|---|
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: POST /public/v1/connections/:id/needs-mapping/retry. Every command also takes the global options.
hostemi channels available
Platforms that can be connected, and how. Reads only. Never asks.
hostemi channels availableMode: reads · API: GET /public/v1/platforms/catalogue. Every command also takes the global options.
hostemi channels how-to-connect
The steps to connect one platform (creates nothing). Reads only. Never asks.
hostemi channels how-to-connect <platform>| Argument | Required | Description |
|---|---|---|
<platform> | yes | Airbnb, BOOKING_COM, SZALLAS_HU, Expedia, Vrbo … |
| Option | Type | Description |
|---|---|---|
--property | string | Property id: the link opens on it |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: reads · API: POST /public/v1/onboarding/import-platform/how-to-connect. Every command also takes the global options.
hostemi platforms how-to-connect airbnbhostemi channels import-start
Start bringing your listings in from a platform. Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels import-start <platform>| Argument | Required | Description |
|---|---|---|
<platform> | yes | AIRBNB, BOOKING_COM, SZALLAS_HU, EXPEDIA, AGODA, TRIP_COM or HOSTELWORLD |
| Option | Type | Description |
|---|---|---|
--property-id | string | The property ID from the platform's extranet (a number; Trip.com: Hotel Code) |
--currency | string | TRIP_COM and HOSTELWORLD only: the currency you use there, like EUR |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: POST /public/v1/onboarding/import-platform/start. Every command also takes the global options.
hostemi platforms import-start BOOKING_COM --property-id 1234567hostemi channels import-status
The listings an import found. Reads only. Never asks.
hostemi channels import-status <sessionId>| Argument | Required | Description |
|---|---|---|
<sessionId> | yes | From: platforms import-start |
Mode: reads · API: GET /public/v1/onboarding/import-platform/:sessionId. Every command also takes the global options.
hostemi channels import-apply
Add the listings you pick from an import (connected, not live). Changes data at once: asks first, or --yes. --dry-run prints the request instead.
hostemi channels import-apply <sessionId> [listings…]| Argument | Required | Description |
|---|---|---|
<sessionId> | yes | From: platforms import-start |
<listings> | no | The ids to add, from: platforms import-status |
| Option | Type | Description |
|---|---|---|
--listings | json | Instead of ids: [{"externalId":"…","group":"…","attachToUnitId":"…"}] |
--input | file | JSON body from a file, or - for stdin; flags win over it |
--data | json | JSON body inline |
Mode: changes · API: POST /public/v1/onboarding/import-platform/:sessionId/apply. Every command also takes the global options.
hostemi channels status
Connected platforms: state, last sync, last error. Reads only. Never asks.
hostemi channels status [--property <id>]| Option | Type | Description |
|---|---|---|
--property | string | Property id |
Mode: reads · API: GET /public/v1/connections. Every command also takes the global options.