Interestingly it works with a client-server architecture.
jamesmcparlane@youtube
youtubeuserI'm Re-Imagining the Command Line Interpreter
videoUrl
Mentions that it's building a new [ Command Line Interpreter ] with focus on
Encapsualated environment
Interestingly it works with a client-server architecture.
Handling of secrets
On this video, it describes how to improve the CLI handling of credentials and other secrets. To do this it integrates the handling of secrets with the CLI and not treating those as normal variables. By doing this it can properly hide the values of secrets (showing a "visually hashed form", as a Security Tartan).
Secrets can be manipulated with commands in a Stack-programming-language-like behavior.
secret.new
# This command created a secret, and pushed it into the secret stack
passphrase.from.secret
# This command took the secret fro mthe secret stack. It generates a passphrase (still "visually hashed") and pushes it to the passphrase stack
Immediate feedback
Described at
08:54
Autocompletion of commands and their arguments, with an interactive description of the command (as it's being written)
Summary of what the command does and arguments expected.
When the cursor is in an argument, show more details for it.
Usage of color to show invalid syntax (while typing the command)
Hiding the values of secrets, or unexpected arguments, to avoid security leaks.
Automation
Described at
10:14
Implemented as a macro recorder.
For commands and server requests done by a session.
Forgiving behavior
Described at
10:54
Shows a way to do undo at a command-line interpreter level (not single line writing).
In the future, will attempt to implement undo-level work up to the server level.
I Have Undo and Redo Working in the Command Line
urlSecurity Tartan
concepts