libxo
elvish
libxo | elvish | |
---|---|---|
17 | 49 | |
337 | 6,056 | |
0.3% | 0.8% | |
0.0 | 8.2 | |
18 days ago | 3 days ago | |
C | Go | |
BSD 2-clause "Simplified" License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libxo
-
jc: Converts the output of popular command-line tools to JSON
> In FreeBSD, this problem was solved with libxo[0]:
Libxo happens to be in the base system, but it is generally available:
* https://github.com/Juniper/libxo
* https://libxo.readthedocs.io/en/latest/
- Libxo: The Easy Way to Generate Text, XML, JSON, and HTML Output
-
Getting work done with PowerShell on Linux
Or make it flexible:
> libxo - A Library for Generating Text, XML, JSON, and HTML Output
* https://github.com/Juniper/libxo/
* https://wiki.freebsd.org/LibXo
Want structure? Ask for JSON or XML and parse. Otherwise it's the regular text output.
- Libxo: Generate text/XML/JSON structured output in one code path
-
Jc – JSONifies the output of many CLI tools
Can you trust it? Cli tool output is not exactly stable. I thought that's why libxo exists?
https://github.com/Juniper/libxo
- Libxo: Library for Generating Text, XML, JSON, and HTML Output
-
Curl gets a --json flag
Please consider https://github.com/Juniper/libxo or something even better than that.
-
You shouldn't parse the output of ls(1)
That would look a lot like FreeBSD. Many of the FreeBSD userland tools are set up to use the excellent libxo (https://github.com/Juniper/libxo) to allow the user's choice of how things are output.
- The growth of command line options, 1979-Present
- Tips on Adding JSON Output to Your CLI App
elvish
- Elvish – Powerful scripting language and versatile interactive shell
-
I'm Publishing Matanuska BASIC's ADRs
But these fantasy consoles are aimed largely at the classic BASIC use case of writing simple games. My interest, meanwhile, is in replacing my shell. I want a BASIC that can be a useful, productive stand-in for bash. In this sense, I'm actually more influenced by new-school shells like nushell, elvish and PowerShell.
-
How to write a programming language and shell in Go with 92% test coverage and [video]
I gave a talk about the design: https://www.youtube.com/watch?v=wrl9foNXdgM
As the sibling comment mentioned, you can find documentation on Elvish itself on the website https://elv.sh. There are tutorials and (not 100% but fairly complete) reference documents.
- State of the Terminal
-
Elvish, expressive programming language and a versatile interactive shell
I take your comment as implying that https://elv.sh is nice, clean and elegant, and thank you for the compliment :)
I can't speak for other people, but I made it on my own and don't have any formal training in design.
With the risk of stating the obvious, you first have to realize that as a developer you can make a reasonably clean-looking website on your own. There are just a few basic ingredients: choose fonts, tweak spacing, position elements, draw some background shades, round some corners. You can do any of these from CSS.
After that it's browsing other websites for what looks nice, and a lot of trial and error with CSS. You can do a lot of experiments from the browser's dev tool before committing them into the stylesheet too. But at the end of the time, you have to put in some time. The layout of the current homepage was redone just a few months back and it took me (IIRC) 3 days to tweak everything to my satisfaction.
- Xonsh: Python-powered, cross-platform, Unix-gazing shell
-
Antonmedv/walk: Terminal file manager
Shameless plug: Elvish is a shell with a filesystem navigator built in - you can see it in demo 5 on the homepage https://elv.sh
- I really like powershell
- Elvish: Multiplatform shell with expressive programming language
What are some alternatives?
PSScriptAnalyzer - Download ScriptAnalyzer from PowerShellGallery
nushell - A new type of shell
pdfalto - PDF to XML ALTO file converter
oils - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
jtbl - CLI tool to convert JSON and JSON Lines to terminal, CSV, HTTP, and markdown tables
urfave/cli - A declarative, simple, fast, and fun package for building command line tools in Go