---
title: commandline
categories: |
core
version: 0.104.0
core: |
View the current command line input buffer.
usage: |
View the current command line input buffer.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
# `commandline` for [core](/commands/categories/core.md)
<div class='command-title'>View the current command line input buffer.</div>
## Signature
```> commandline {flags} ```
## Input/output types:
| input | output |
| ------- | ------ |
| nothing | string |
## Subcommands:
| name | description | type |
| -------------------------------------------------------------------- | --------------------------------------------- | -------- |
| [`commandline edit`](/commands/docs/commandline_edit.md) | Modify the current command line input buffer. | built-in |
| [`commandline get-cursor`](/commands/docs/commandline_get-cursor.md) | Get the current cursor position. | built-in |
| [`commandline set-cursor`](/commands/docs/commandline_set-cursor.md) | Set the current cursor position. | built-in |