> For the complete documentation index, see [llms.txt](https://docs.alphaus.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alphaus.cloud/cli-en/global-flags.md).

# Global flags

## Global flags

Global flags are all optional and can be applied to any subcommand. You can use '=' or whitespace when assigning a value to the flag. This applies to any command's local flags as well. For example, you can login using any of these commands:

```bash
# Using the '=' for assignment
$ mobingi login --client-id=foo --client-secret=bar
[mobingi]: info: Login successful.

# Using whitespace for assignment
$ mobingi login --client-id foo --client-secret bar
[mobingi]: info: Login successful.
```

`--token`

The access token to use in the command. By default, mobingi will save your access token to the config file after login (see [login](broken://pages/-LYkD7XBUWBJT9opPNML#login) command).

`--url`

The base API url to use in the command. By default, this is set to <https://api.mobingi.com>. You can use this flag if you are hosting your own backend. This is used by devs when testing the cli against the dev and test environments.

`--rurl`

The base registry url to use in the command. This is applicable to Mobingi Registry related commands. By default, this is set to <https://registry.mobingi.com>. This is used by devs when testing the cli against the dev and test environments.

`--apiver`

Specify the API version used in the current command. The default version is v3. The only other supported version is v2.

`--fmt, -f`

Output format of the command. Valid values are: *raw*, *json*. Not all commands support this flag.

`--out, -o`

Full path of the file to write the command output. Not all commands support this flag.

`--indent`

Padding/indentation (or the number of whitespaces to be added) when the output format used is *json*. By default, this is set to 2.

`--timeout`

The timeout value (in seconds) for the command's http request (if applicable). By default, this is set to 120 seconds.

`--verbose`

When set to true, the command will print additional information during the command's execution.

`--debug`

When set to true, the command will print a stack trace when error occurs during the command's execution.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.alphaus.cloud/cli-en/global-flags.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
