# Swift for command line projects

**URL:** <https://forums.swift.org/t/swift-for-command-line-projects/39627>\
**Category:** Using Swift\
**Tags:** linux\
**Created:** [August 23, 2020, 7:46am UTC](https://forums.swift.org/t/swift-for-command-line-projects/39627 "2020-08-23T07:46:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakobneufeld](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jakobneufeld/32/12931_2.png) [@jakobneufeld](https://forums.swift.org/u/jakobneufeld)\
**Post date:** [August 23, 2020, 7:46am UTC](https://forums.swift.org/t/swift-for-command-line-projects/39627/1 "2020-08-23T07:46:26Z")

</div>

# Hello

# I have question, are there any libraries for doing command line work?

## I know that there are some libraries for somethings.

??? means that I did not find any. But I am terrible at finding.. 😄

1. Argument Parser (from Apple). This library is excellent.  
2 . Progress.swift for progress bars. Very cool library,I am not sure if it is maintained?
2. ??? for Cursor movement. If anyone knows a cursor library, that would be great. Thanks. (not e that cursor library means that you can move the cursor. I don't mean something as big as curses. If there is curses for Swift, that would be so cool. But a simple cursor library will do fine.)
3. ??? for dialogs (Multiple choice on the command line. Things like that.). I am making a dialog library, but I would really need a cursor library. I would be grateful if anyone has a cursor library or a dialog library.

One question that does not need a library 😄 : Hoe do you get a raw key press without tying enter.

Hope you all have a nice day.

Jakob

---

<div class="post-metadata">

**Author:** ![stuchlej](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/stuchlej/32/7751_2.png) [@stuchlej](https://forums.swift.org/u/stuchlej)\
**Post date:** [August 23, 2020, 11:04am UTC](https://forums.swift.org/t/swift-for-command-line-projects/39627/2 "2020-08-23T11:04:02Z")

</div>

I’m not sure whether Text-based user interface (TUI) is what you asked for. (Console interfaces like Vim or mc has.)

If this is the case, check out [this post about Termbox](https://duan.ca/2016/12/26/making-tui-programs-in-swift/) at [Termobx swift repo](https://github.com/dduan/Termbox).

I haven’t used it myself yet.
