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

bat
xerus2000
xerus2000 commented Oct 23, 2020

Hey, I am really enjoying bat for peeking at everything, but here is one little pet peeve I recently encountered:
I only want line numbers when the auto-pagination sets in. Beforehand, the files are so small that it doesn't matter, and having no numbers makes copying much easier. But in the pager, they are super useful!

I tried to create a workaround by using bat as a pager for itself, but s

cli
tierninho
tierninho commented Sep 11, 2020

Describe the feature or problem you’d like to solve

When running gh pr checks the user is shown a bunch of urls for each check. It would be great to add a -w to see the checks tab ([repo/owner]/pull/[pr-number]/checks) in github.com. The user could then scroll through the various checks shown in the output of the gh pr checks.

Proposed solution

How will it benefit CLI and it

dpacbach
dpacbach commented Jun 13, 2020

Hello,

In the two menus containing "destructive" actions (d and D) can we have the "cancel" item first in the list? That way one doesn't accidentally hit enter and nuke their tree. Especially important since when you select one of those destructive actions there is not an "are you sure?" box that pops up. I think that the best solution which will keep the UI streamlined but make it a tad

blueray453
blueray453 commented Oct 22, 2020

Describe the bug you encountered:

Though the folder has few files without extension, but the following command returns nothing.

$ fd -t f -e ''

Describe what you expected to happen:

I expected to have a output ~similar to the output of find . -type f ! -name "*.*"

What version of fd are you using?
fd 8.1.1

Which operating system / distribution are you on?

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
bgschiller
bgschiller commented Oct 16, 2020

Expected Behavior

Since I set case_sensitive to False, I would expect shell completions to search without case sensitivity.

import click
from click._bashcomplete import get_choices

options = ['Paul', 'Simon', 'Art', 'Garfunkel']

@click.command()
@click.option('--opt', type=click.Choice(options))
def demo():
    pass

completions = list(get_choices(demo, 'dummy', ['

Created by Glenda Schroeder

Released 1965

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