libxo
zoxide
libxo | zoxide | |
---|---|---|
17 | 100 | |
302 | 18,767 | |
2.0% | - | |
9.7 | 8.1 | |
15 days ago | 3 days ago | |
C | Rust | |
BSD 2-clause "Simplified" License | MIT 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
zoxide
- Say good bye to cd and hello Zoxide - the better and smarter cd command
-
You might want to replace cd command with Zoxide 🎉 — a smarter and trainable cd alternative 🗂️
Head over to ajeetdsouza/zoxide and install it now! It's innovative, free, and flexible!
- A smarter CD command. Supports all major shells
-
Z – Jump Around
I use this Rust clone which works great, no complaints: https://github.com/ajeetdsouza/zoxide
Although, I don't know what the difference is, other than the language of choice.
-
Cdpath: Easily Navigate Directories in the Terminal
I use https://github.com/ajeetdsouza/zoxide, which is inspired by z and autojump.
-
Ask HN: Share a shell script you like
Zoxide is basically the 'Rust Rewrite' version of the 'Z' tool and is actively maintained, I haven't had any issues with it: https://github.com/ajeetdsouza/zoxide
-
env::set_current_dir() -- is either not functioning as intended or I'm just messing something up
Indeed, utilities like zoxide which operate primarily as a cd replacement don't attempt to change directories via rust code - they create a shell alias that ultimately invokes a shell builtin to do it.
-
Everything I Installed on My New Mac
I also still use zoxide for navigating directories. It's a smarter cd command that learns your habits and makes navigating directories a breeze.
-
Top Productivity CLI Tools I Use on Linux
4. Zoxide
-
How to achieve the function of the Mac app Hookmark in the terminal?
Not sure what you mean by bookmarks, but I use zoxide to quickly jump to frequently used folders.
What are some alternatives?
pdfalto - PDF to XML ALTO file converter
autojump - A cd command that learns - easily navigate directories from the command line
elvish - Powerful scripting language & Versatile interactive shell
z - z - jump around
jtbl - CLI tool to convert JSON and JSON Lines to terminal, CSV, HTTP, and markdown tables
zsh-z - Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh with added features.
PSReadLine - A bash inspired readline implementation for PowerShell
fasd - Command-line productivity booster, offers quick access to files and directories, inspired by autojump, z and v.
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
z.lua - :zap: A new cd command that helps you navigate faster by learning your habits.
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
fzf - :cherry_blossom: A command-line fuzzy finder