Olares/docs/developer/install/cli/osinfo.md

21 lines
1.5 KiB
Markdown
Raw Normal View History

2025-07-17 03:58:59 +00:00
# `osinfo`
## Synopsis
The `osinfo` command provides detailed information about the operating system of the current device. Specifically, it retrieves and displays metadata such as `OS_TYPE`, `OS_PLATFORM`, `OS_ARCH`, `OS_VERSION`, `OS_KERNEL`, and `OS_INFO`.
```bash
olares-cli osinfo <subcommand> [options]
```
## Subcommands
2025-07-17 03:58:59 +00:00
| Subcommand | Description |
|------------|----------------------------------------------------------------------|
| `show` | Prints information about the operating system of the current device. |
## Options
2025-07-17 03:58:59 +00:00
| Name | Short | Description |
|--------------|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `--help` | `-h` | Displays help information. |