SkillAgentSearch skills...

JBShellView

A command shell for Cocoa implemented as an NSTextView subclass.

Install / Use

/learn @jbrennan/JBShellView
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

JBShellView

This class provides a shell or command-line interface. Some features:

  • Cocoa native, it's an NSTextView subclass
  • Supports command history, so you can use up and down arrows, as you'd expect
  • Supports auto-pairing for smarter text editing via JBTextEditorProcessor
  • Supports asynchronous operations so you don't hang the interface.

Demo

Alt text

The demo application shows off the Shell view and lets you enter commands. The only recognized command is search some query, but by checking out the app you can hopefully figure out how to support different commands. It's pretty straightforward.

View on GitHub
GitHub Stars32
CategoryDevelopment
Updated2y ago
Forks1

Languages

Objective-C

Security Score

75/100

Audited on Jul 25, 2023

No findings