Files
OpenBB/website/content/cli/structure-and-navigation.md
Henrique Joaquim 8d060dc071 [Feature] CLI docs (#6362)
* cli docs website

* changes

* remove unused feat flags

* typo

* yeet stuff that can't be used

* some progress

* Add home screenshot

* screenshots.md

* fix links

* new cards for cli pages

* start config page

* more updates

* Add screenshots

* flatten some things.

* fix link

* some more updates

* some routine stuff

* codespell

* cli color

* results in the global commands

* increase codeBlock line-height

* remove platform warning, obb is a class

* minor change, danger warning

* typo?

* Data processing commands

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2024-05-14 15:44:07 +00:00

43 lines
1.8 KiB
Markdown
Vendored

---
title: Structure and Navigation
sidebar_position: 3
description: This page describes the layout and structure of the OpenBB CLI, as well as how to navigate it.
keywords:
- CLI application
- OpenBB Platform CLI
- structure
- navigation
- Command Line Interface
- navigating
- Home
- commands
- menus
- OpenBB Hub Theme Style
- Absolute paths
---
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
<HeadTitle title="Structure and Navigation | OpenBB CLI Docs" />
## Structure
The OpenBB Platform CLI is a Command Line Interface (CLI) application. Functions (commands) are called through the keyboard with results returned as charts, tables, or text. Charts and tables (if enabled) are displayed in a new window, and are fully interactive, while text prints directly to the Terminal screen.
A menu is a collection of commands (and sub-menus). A menu can be distinguished from a command because the former has a `>` on the left. The color of a command and a menu also differ, but these can be changed in OpenBB Hub's theme style.
## Navigation
Navigating through the CLI menus is similar to traversing folders from any operating system's command line prompt. The `/home` screen is the main directory where everything begins, and the menus are paths branched from the main. Instead of `C:\Users\OpenBB\Documents`, you'll have something like `/equity/price`. Instead of `cd ..`, you can do `..` to return the menu right above. To go back to the root menu you can do `/`.
### Absolute Paths
Absolute paths are also valid to-and-from any point. From the `/equity/price` menu, you can go directly to `crypto` menu with: `/crypto`. Note the forward slash at the start to denote the "absolute" path.
### Home
Return to the Home screen from anywhere by entering any of the following:
- `/`
- `home`