The Wayback Machine - https://web.archive.org/web/20200316194807/https://github.com/topics/cli
Skip to content
#

Command line interface

Before there were graphical user interfaces, command-line interfaces were used to issue commands to a computer. Programs that handle the user interface are called command language interpreters, often known as a shell. A CLI may give a user more control over the computer and programs they wish to execute.

Here are 16,028 public repositories matching this topic...

httpie
nhooey
nhooey commented Mar 6, 2020

It's not clear from the website's documentation, or the --help output, how to do the following equivalent curl task:

Post a raw JSON query to ElasticSearch:

curl \
    --header "Content-Type: application/json" \
    --request POST \
    --data '{ "_source": [ "restricted_countries.*" ], "query": { "match_all": {} }, "size": 1000 }' \
    'http://localhost:9200/_search'

T

pauschuu
pauschuu commented Jun 5, 2019
  • Category
    • fzf binary
    • fzf-tmux script
    • Key bindings
    • Completion
    • Vim
    • Neovim
    • Etc.
  • OS
    • Linux
    • Mac OS X
    • Windows
    • Windows Subsystem for Linux
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

It would be useful to get a better understanding of the context of th

fireflysemantics
fireflysemantics commented Jan 8, 2020

In order to make it easier to cut and paste component imports in the router module, Instead of:

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { StepperComponent } from './stepper/stepper.component';

Do

import { AppRoutingMod
docwhat
docwhat commented Aug 19, 2019

When using AUFS as the storage driver in docker (or podman, etc.) then the maximum number of layers that can have data is "42".

This is because each layer that has data is unpacked into the file-system and then union mounted over each other. AUFS only allows a maximum of 42 layers to be mounted over each other.

The hard-limit is 127 data layers which is due to the maximum number of argu

blueyed
blueyed commented Sep 12, 2019

rg --debug should output information about ignore files being read.

Currently it outputs something like the following, but it is not clear where the patterns are coming from:

% rg --no-config --debug foo
DEBUG|rg::args|src/args.rs:544: not reading config files because --no-config is present
DEBUG|grep_regex::literal|grep-regex/src/literal.rs:59: literal prefixes detected: Literals {
bat
sQVe
sQVe commented Feb 14, 2020

Hey 👋,

I have my .cache directory set as tmpfs to run all cache related files on RAM. This makes the .cache available only per session which is an issue with bat as the built custom themes I have are removed.

Is there a way to specify a directory for bat to load theme and syntax from? I've tried bat cache --source ~/.local/share/bat but that just creates the cache at

ava
ViableClanMember
ViableClanMember commented Dec 10, 2019

The output I get is

$ pkg . --targets node10-alpine-x64 --out-path pkg
> pkg@4.4.1
> Fetching base Node.js binaries to PKG_CACHE_PATH

> Warning Cannot include addon %1 into executable.
  The addon must be distributed with executable as %2.
  /app/node_modules/node-sass/vendor/linux_musl-x64-64/binding.node
  path-to-executable/binding.node
> Error! Cannot read file, ENOENT
  worker
tigt
tigt commented Sep 21, 2018

I remove this attribute manually so I can check before/after, but it is possible to prove when a non-default (4) stroke-miterlimit attribute is safe to remove.

It's usually set by Adobe Illustrator, which has a default value of 10.

I'm working on a PR for this, but I'm not great at trigonometry, so someone else may very well be able to get it done much earlier than I can.

Shortcuts

apengwin
apengwin commented Feb 6, 2020
  • I have marked all applicable categories:
    • exception-raising bug
    • [ x] visual output bug
    • documentation request (i.e. "X is missing from the documentation." If instead I want to ask "how to use X?" I understand [StackOverflow#tqdm] is more appropriate)
    • new feature request
  • [ x] I have visited the [source website], and in particular
    read the [known iss
benfletcher
benfletcher commented Jul 19, 2019

The docs are somewhat unclear on 's default wrapping behavior:

textWrap

Type: string
Values: wrap truncate truncate-start truncate-middle truncate-end [nowrap]
[Default: nowrap]

This property tells Ink to wrap or truncate text content of if its width is larger than container. If wrap is passed, Ink will wrap text and split it into multiple lines. If truncate-* i

git-history
rgarrigue
rgarrigue commented Feb 10, 2020

Hi there

I'm trying to parse this king of lines, from a python flask service whose log format is %(asctime)s [%(process)d] (%(levelname)s) (%(name)s): %(message)s

2020-02-10 13:58:38,594 [31383] (INFO) (flask.app): request: OPTIONS https://server_hostname/0.1/token/a_big_uuid {'Host': 'server_hostname', 'X-Script-Name': '/api/auth', 'X-Forwarded-For': 'an_IP_address', 'Connection': 'c
Halfwalker
Halfwalker commented Feb 29, 2020

Change the default username color to something like blue (via variable, so it's changeable). Then, when user su's to root or logs in as root, change username color to RED. This would be a good visual warning that you might be doing something with root privs by mistake ...

So the _username function would check the euid, and if 0 set color to RED

fx
heyarne
heyarne commented Nov 28, 2019

Hi! Thanks for this tool, I searched for something like this for a looong time. :) One question: Would it be possible to add a shortcut to search backwards (i.e. going back to the previous result, possibly wrapping around at the top)? I immediately assumed it would be possible via N (like in vim) or p, but realized both keys don't have any effect.

arcresu
arcresu commented Jun 1, 2019

Some of our wiki pages are outdated. User manual or developer guide type information should move into the sphinx docs for better visibility and so that it's versioned with the code. I think it makes sense to use the wiki for longer-term planning or planning of big changes, with the target audience being beets contributors. Where possible smaller plans can go to issues on beets with appropriate lab

gautaz
gautaz commented Aug 29, 2019

What happened:

I tried to use the --make option to pass --jobs=5 to the NodeJS build process.

What you expected to happen:

I expected the NodeJS build to be faster.

What happened:

I was unable to pass the jobs options to the NodeJS make command, here is what happened:

➤  nexe --build --make --jobs=5
ℹ nexe 3.3.2
✔ Node source extracted to: /home/thibault.hi

Created by Glenda Schroeder

Released 1965

Wikipedia
Wikipedia
You can’t perform that action at this time.