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

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

ava
novemberborn
novemberborn commented Sep 15, 2019

#1947 landed a new t.try() assertion. It's experimental, one of the reasons for which is that we don't have documentation yet.

We need to document the assertion, how to use it and what the edge cases are.

Apologies for how bare this issue is — happy to elaborate more if you're looking to contribute this 😍

bat
desbma
desbma commented Nov 27, 2019

Line wrapping seems to be disabled when piping to another process, even when forced with --wrap=character.

$ echo 123456789abcd > /tmp/file
$ bat --style plain --terminal-width 10 --wrap=character /tmp/file
123456789a
bcd
$ bat --style plain --terminal-width 10 --wrap=character /tmp/file | command cat
123456789abcd
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
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

kbd
kbd commented May 13, 2019

As discussed in this bat issue, the behavior of fd's -X flag is different from the behavior of fd | xargs. My initial impression upon reading the docs was that -X's behavior would be equivalent to piping to xargs, and I was surprised when that wasn't the case.

Shell session for reference:

$ for i in a b c d; do echo $i > $i.t
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.