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 15,226 public repositories matching this topic...

mike239x
mike239x commented Jun 18, 2019
  • Category: fzf binary
  • OS: Linux 18.04
  • Shell: bash as well as fish

Say I got the command echo whatever | fzf --ansi --preview='cat colored_file' --height=1, where the colored_file contains a ANSI color code, then some text with line breaks. Now, if we run that command and try to scroll with the mouse inside of the preview area past the ANSI code, then the text inside of the preview wi

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

JohnC32
JohnC32 commented Dec 4, 2019

Using ripgrep 11.0.2 I ran into a hang using ripgrep from GNU Emacs via helm-rg on Windows. Window creates a stdin and ripgrep detects that stdin exists and waits for data, making it look like ripgrep is hung. I was able to easily work around the issue once I saw that I could explicitly specify the directory to search. Having this in the doc may save others confusion. Also having the note about .g

bat
clarfon
clarfon commented Sep 21, 2019

I've been trying to export most of my dotfile-type configs to system packages I can install. A lot of programs offer the option for both a system and a user config (e.g. git reads from /etc/gitconfig, then ~/.gitconfig) although currently, bat reads just one file. It'd be nice if we could do something similar for bat as well, loading both /etc/bat/config and ~/.config/bat/config.

bzamecnik
bzamecnik commented Aug 22, 2019

Given a simple script:

import fire

def foo(name='World'):
    """
    Greets name.

    Arguments
    ---------
    name : str
        name, default: World
    """
    print('Hello %s' % name)

if __name__ == '__main__':
    fire.Fire(foo)
python foo.py -h

shows the help with the description of --name missing:

# ...
FLAGS
    --name=NAME
bug
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
jpfender
jpfender commented Jan 9, 2020

This is a very very minor quibble, but I keep finding myself stumped when I'm staging changes line-wise and want to commit --- intuitively, I would just want to press c from the staging view, but instead I have to go back to the file menu with Esc and then press c. A bit unnecessary in my opinion, especially since c is not mapped to anything else in the staging view.

So if at all poss

colinking
colinking commented Sep 28, 2019

When an error boundary's getDerivedStateFromError handler is called, React will print out a warning to the console like so:

The above error occurred in the <Example> component:
    in Example
    in ErrorBoundary
    in App

React will try to recreate this component tree from scratch using the error boundary you provided.

Because of this log output, it means that when the er

timkgh
timkgh commented Sep 18, 2019

The README shows the following example:

> cat ~/.fdignore
/mnt/external-drive
*.bak
Note: fd also supports .ignore files that are used by other programs such as rg or ag.

On macOS I tried creating ~/.ignore and also a ~/.fdignore symlinked to ~/.ignore with the following in it as I'm trying to avoid mounted/network file systems when using fd from fzf:

.git
/Volumes
/net
git-history
tayfunyasar
tayfunyasar commented Dec 3, 2019

ERROR:

12-03 13:42:38.396 18257-18276/? E/ReactNativeJS: TypeError: undefined is not an object (evaluating 'console.tron.log')
12-03 13:42:38.436 18257-18277/? E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
    Process: com.myapp, PID: 18257
    com.facebook.react.common.JavascriptException: TypeError: undefined is not an object (evaluating 'console.tron.log'), stack:
    <unknown
evitalis
evitalis commented Dec 2, 2019

It looks like there is only a master branch for this repo at this time. This has caused any commits to affect PRs which now show large numbers of conflicts. Would it be possible to get a development branch or other instructions as to how PRs should be made to avoid this situation going forward?

fx
antonmedv
antonmedv commented Dec 11, 2019

Currently, each argument to fx treated as an anonymous function. Here is an example:

fx 'groupBy("commit.author.name")' 'mapValues(size)' toPairs 'sortBy(1)' reverse 'take(10)' fromPairs

But this requires a lot of ' quotes. My idea is to split the argument by whitespaces . So next will be possible to write:

fx 'groupBy("commit.author.name") mapValues(size) toPairs so
aditya12398
aditya12398 commented Dec 8, 2019

Problem

I recently noticed that beet is not embedding album art in my music files as I import them if they are not available locally. So I ranbeet fetchart command and tried running it in verbose mode for one of the failed albums.

I think I should mention that I am using internet behind a proxy server, not sure if this has anything to do with the error but I am suspicious that its the pr

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

Related Topics

angular sails react
You can’t perform that action at this time.