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

bat
yaahc
yaahc commented Apr 27, 2020

As far as I can tell bat as a library only supports writing to stdout, I'm interested in seeing if I can integrate bat with color-backtrace/color-spantrace and eyre. To do this I need bat to write to a std::fmt::Formatter and return a fmt::Result instead of printing to stdout (i assume?) and returning a bat::error::Error.

So assuming I'm not misreading the docs...

Proposal

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 {
ava
follower
follower commented Apr 22, 2020

FYI attempting to run lazygit on Mac OS X 10.9 fails with both 64-bit & 32-bit builds:

# Darwin_x86_64
$ lazygit_0.20.2_Darwin_x86_64/lazygit 
dyld: Symbol not found: _fdopendir$INODE64
  Referenced from: /<path>/lazygit_0.20.2_Darwin_x86_64/lazygit
  Expected in: flat namespace

Trace/BPT trap: 5
# Darwin_32-bit
$ lazygit_0.20.2_Darwin_32-bit/lazygit 
dyld: Symbol n
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
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

goaccess
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
joaovbibiano
joaovbibiano commented Apr 18, 2020

Hey there! Ignite CLI seems to be having a problem, eh?

Welllllll, it just might be. First, search the issues to make sure it's not already
here, and if not head over to http://community.infinite.red to
get some help. If you've identified that it's really an Ignite CLI issue, then:

  • Explain what's going on and preferably how to replicate the issue (bonus points for a repro app)
  • Run
cli
diminutivesloop
diminutivesloop commented Mar 30, 2020

Describe the bug

After following the instructions for enabling shell completion I still can’t get the completion functionality to work. I’ve tried both the eval and Homebrew options. I’m on Mac OS 10.15.4 using zsh with Oh My Zsh and gh version 0.6.2.

Steps to reproduce the behavior

  1. Add the Homebrew completion [snippet](https://do
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
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

mthuurne
mthuurne commented Oct 27, 2019

The Click 7.x documentation for ParamType lists the following requirements:

  • it needs a name
  • it needs to pass through None unchanged
  • it needs to convert from a string
  • it needs to convert its result type through unchanged (eg: needs to be idempotent)
  • it needs to be able to deal with param and context being None. This can be the case when the object is used with prompt inputs.

T

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.