Command line interface Icon

Command line interface

A CLI, or command-line interface, is a console that helps users issue commands to a program.
35 Stories
All Topics

Command line interface github.com

A tool for writing Bash pipes with instant live preview

Meet up a.k.a. the Ultimate Plumber: The main goal of the Ultimate Plumber is to help interactively and incrementally explore textual data in Linux, by making it easier to quickly build complex pipelines, thanks to a fast feedback loop. This is achieved by boosting any typical Linux text-processing utils such as grep, sort, cut, paste, awk, wc, perl, etc., etc., by providing a quick, interactive, scrollable preview of their results.

read more...

Command line interface github.com

dategrep prints lines matching a time range

dategrep reads a file and prints every line with a timestamp that falls into a user defined time range. When invoked on a normal file, dategrep uses a binary search to find the first matching line. The usefulness of this is perhaps best understood by seeing a few examples: dategrep --start "12:00" --end "12:15" syslog dategrep --end "12:15" --format "%b %d %H:%M:%S" syslog dategrep --last-minutes 5 syslog cat syslog | dategrep --end "12:15"

read more...

Command line interface theptrk.com

Creating a simple 'did.txt' file

This post is a simple, step-by-step explanation of how Patrick created ‘an insanely simple “did” file accessible by terminal’. What’s interesting about it to me is not how to do it, but the idea of doing it itself. His motiviation: Time flies by when you’re learning how to code. Its super important to take a second every once in a while to simple write down what you did during the past mental sprint. Writing down what you learned solidifies the knowledge. This is a great truth, and one that applies far beyond learning how to code. Sometimes we need a did.txt just to recognize how much we’ve accomplished recently. For me, there are days when I get to the end and feel like I didn’t really accomplish much. If I’d catalogued my wins throughout the day as they occurred (no matter how small), I bet I’d feel different about that. However, I’m both busy and lazy (a hellacious pairing) and wouldn’t keep up with this habit unless it were dead simple. Patrick’s ‘did.txt’ solution is about as simple as it gets…

read more...

Bash github.com

A command-line system information tool written in bash 3.2+

The overall purpose of Neofetch is to be used in screen-shots of your system. Neofetch shows the information other people want to see. There are other tools available for proper system statistic/diagnostics. Supports almost 150 different operating systems, so odds are it has you covered. Check my results below. Pretty decent uptime for a laptop, no?

read more...

Diego ZoracKy github.com

MagiCLI can generate a command line interface for any module

MagiCLI was built to expand the use of npm modules. When all modules can be executed via CLI, npm becomes a source for anyone who wants to find a solution ti be run from a terminal and also for those who would like to call an existing solution written in Node.js from a program written in another language. For even more context, check out the intro post on Hacker Noon.

read more...

Steven Loria github.com

Making the Node.js REPL more productive

Project-specific REPLs for Node.js I’m a bit surprised this functionality isn’t in the box, nonetheless: local-repl saves you from typing out imports every time you open a new Node.js REPL. You specify the modules and objects that you want to automatically import in either package.json or .replrc.js. It also lets you use await in the REPL without wrapping your code in async functions. That sounds quite nice.

read more...
0:00 / 0:00