Category "command-line-interface"

How to parse output of bash script in CLI

I'm running following bash script #!/bin/bash echo Running RatiosUITests xcodebuild \ test \ -project Ratios.xcodeproj \ -scheme RatiosUITests \ -destinati

How to build and package CommandApp from decline library

(Note: I'm totally new to Scala and still wrapping my head around sbt tooling) I have a small command line app using decline and I am confused about how to buil

How to create a custom command prompt in python

We have a CLI tool which uses Typer module in python. However, I want to create a custom command prompt - like the mysql prompt for example. mysql> Currentl

Command prompt pops up and closes

My command prompt opens up randomly for like 10 seconds and then closes. The title says npm. I don't know what is causing it or how to solve it. Do you guys hav

Command 'SFDX: Create Project' resulted in an error (command 'sfdx.force.project.create' not found)" error

I cannot create an SF project in my VS Code. it gives the "Command 'SFDX: Create Project' resulted in an error (command 'sfdx.force.project.create' not found)"

sqlcl 20.3 apex execution vs sqlplus

I have several environments where we have implemented sqlcl and apex versioning. Oracle database 19c - SqlCL version 20.3 The only difference versus other envir

List RDS instances with greater than 7 snapshot retention period

Can someone please help me on listing RDS instances with more than 7 days of snapshot retention period. I am trying something as below, but not working: aws rds

Find multiple string matches from the original string batch script

I currently have a list of files in a folder that i need to iterate through and exclude the non production files that matches the pattern. how do i search for m

Error when trying to download wxPython on Windows

Completely new to python, running command ‘pip install -U wxPython’ in Command line and this is the error I get: C:\Users\Pikachu>pip install -U

rm is not working and outputs mv: illegal option -- b

I'm using Monterey and ohmyzsh in iterm2 and rm -rf (nor -Rf) is not working and outputs mv: illegal option -- b. What is a good cli way to do this? Edit: I hav

prompt toolkit accept when enter pressed

I am using prompt toolkit for my CLI. the issue I am facing is when having multiple options and if the user presses "enter" it executes the command. I want diff

AWS CDK Credentials not found when Bootstrapping

I'm getting the following error within zsh when issuing the command: Command - ~ % cdk bootstrap aws://******/*region* Error (snip) - Environment aws://****

Why are "--slave" and "--no-restore" being used by commandArgs when I call my R file with Rscript

I am running an R script using Rscript from the command line (linux) like this: Rscript myscript.R inputfile1.csv inputfile.csv integerArg My command args are

How do you execute terminal commands from Golang?

I'm creating a CLI tool in Golang, and I'm new to both Golang and making tools for the terminal. I need to execute terminal commands right from my program (spec

Elasticsearch Password reset failing with https

When I try to reset elastic search password using below command (in bin directory of elastic search). elasticsearch-reset-password -u elastic -i It is throwing

php stdin input return blank value with arabic chars

i'm makin my own php cli but i need to use arabic letters so fgets return blank value from command line input Knowing i'm using powershell to run commands funct

I can't run ganache in my terminal, even though it's installed

It seems I have a path error, I can see proof the package installed, and I've tried it both globally and local, tried both with and w/o the -cli suffix, but zsh

Is there a way to list down only the custom dotnet templates installed?

dotnet new --list lists all the built-in and custom templates installed. But I want to list only the custom templates that I have created and installed. Is ther

How to use curl -Z (--parallel) effectively?

I need to download thousands of files with curl. I know how to parallelize with xargs -Pn (or gnu parallel) but I've just discovered curl itself can parallelize

How do I open a database file located in a specific folder in sqlite3?

I have this chinook.db database file that I have stored in C:\sqlite\db, and everytime I try accessing it using the sqlite shell by the command .open C:\sqlite\