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

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

bat
rien333
rien333 commented Feb 10, 2020

I use bat to preview files in fzf. When bat is called on a binary file, it will display a warning:

$ bat foo.pdf 2> /dev/null
[bat warning]: Binary content from file 'foo.pdf' will not be printed to the terminal (but will be present if the output of 'bat' is piped). You can use 'bat -A' to show the binary file contents.

As you can see

ava
novemberborn
novemberborn commented Feb 16, 2020

For historical reasons, the expectations object passed to t.throws() and t.throwsAsync() was not allowed to be undefined.

Now that we've simplified these assertions, we should allow expectations to be both undefined and null. See here:

https://github.com/avajs/ava/blob/55a3649000611900ba6dfbf94faefa6372a70e79/lib/assert.js#L76

This will cause some of our tests to fail, so th

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
sarpik
sarpik commented Jan 20, 2020

Hello, could we somehow document #522 / provide a better error message? I've spent waaaaay too much time trying to solve the issue before finding the already existing solution:/

Even better - fix it, instead of a work-around?

Thanks!

jesseduffield
jesseduffield commented Jan 29, 2020

Describe the bug
When we refresh files (which we now do fairly frequently) and the merge panel is open, we will focus on the first conflict. If the user has already scrolled themselves past that point it can feel jarring to be taken back to the first conflict again.

To Reproduce
scroll past the initial conflict in the merge panel

Expected behavior
the user's scroll is respecte

bug
lrehmann
lrehmann commented Sep 26, 2018

SVGO is causing some alteration to the SVG leading to overlapping text for some files.
I've altered the precision as well as disabled all SVGO plugins, but the end result is the same:
Output:
screen shot 2018-09-26 at 3 55 31 pm
Input:
![screen shot 2018-09-26 at 3 55 36 pm](https://user-im

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
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

Related Topics

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