Questions tagged [command-line-tool]

A command line tool is a console based application either run in MS-DOS or a terminal (Command prompt for windows, and terminal for linux and mac)

339 questions
0
votes
1 answer

Can we add keychain access group entitlements in CommandLine application for Mac OSX?

I have build a Command line tool app in Mac OSX to fetch tokens using Microsoft MSAL Objective-C framework. There is a need to provide the keychain-access-group entitlements for this app to cache the tokens in keychain. I am not finding a way to…
0
votes
0 answers

Combining xml files with xmlstarlet returns blank file

The code I am using is xml sel -t -c ../NODTD/clean_apc200101.xml ../NODTD/clean_apc200102.xml > combined.xml It seems to be executing, but the created file is empty. I feel like there's an easy fix, but I haven't been able to figure it out. I…
tuskity
  • 41
  • 5
0
votes
1 answer

Issues getting jpackage to run on a Mac Catalina 10.15.5

I'm attempting to bundle my Java app into a .dmg file. The plan is to sign and notarize my app for distribution on my website https://strides.co.nz. I have downloaded Java 14 and have successfully created a path on bash profile. Some java commands…
0
votes
0 answers

GUI made for command line tool not responding

I am in the process of making a GUI in Javafx for a Java based command line tool the one of my predecessors had made. The command line tool is a 2 step tool, first you run the program using a specific set of configurations after which the command…
0
votes
2 answers

Swift code works in playground but not in command line tool

I'm very new to swift and I'm trying to write a simple regex app that takes user input of a file path and applies several regex replacements to the text file. import Foundation let shotFilePath = readLine() // Use contentsOfFile overload. // ...…
Johnson
  • 161
  • 9
0
votes
1 answer

command line utility of pymatgen

I have installed the python package pymatgen and it perfectly works when I use it in my Jupyter notebooks. However, now I wanted to do the POSCAR setup as specified here: https://pymatgen.org/installation.html But when I run: pmg config -p…
ramobal
  • 241
  • 2
  • 9
0
votes
1 answer

IBM uDeploy client import request problem

I have had a PowerShell scripted call to the IBM uDeploy command line client (udclient) in my TFS CI build process for some time now. My udclient call is scripted like so: udclient.cmd -weburl $uDeployServer -authtoken $authToken "importVersions"…
The Furious Bear
  • 592
  • 4
  • 16
  • 31
0
votes
0 answers

BotFramework Dispatch Model: Automate the Dispatch Command Line tool

I implemented a dispatch bot using LUIS and QnA Maker, .NET SDK V4. On my local folder, I run the dispatch refresh command line to update my LUIS application whenever I add a pair of question/answer in my QnA service. My goal is to automate this…
0
votes
1 answer

How to send multiple lines of information to telnet/AS400 host and read resulting screen in structured format in Java

I am trying to develop a Java program which can send multiple lines of information to a telnet/AS400 host, then receive the resulting screen in a structured format. An example of this may be login credentials (user, pass, library, etc). With…
ghDev
  • 170
  • 1
  • 12
0
votes
1 answer

Xcode editor doesn't include stdio.h

I'm developing a Command-line tool in Xcode (exercise for university), but the editor is unable to include the standard C header file that provides I/O and files functions. When I compile, the build succeeds, so the problem is just the editor…
Prec99
  • 1
  • 1
0
votes
0 answers

VLC Windows Command Line

I'm currently trying to make a script that loop over 4 videos, lets say video1.avi to video4.avi. And when I have an intervention I would like to stop the loop and to play video2.avi, then at the end, take back the loop. I'd like to know if there is…
Delchris
  • 1
  • 4
0
votes
1 answer

How to get rid off annoying BEGIN CERTIFICATE from certutil output?

I am trying to use certutil with its basic syntax to encode a string that shows me more than what i need. The output of the following command: certutil -encode pass.txt output: -----BEGIN CERTIFICATE----- Z29sZGVuZ2F0ZTEyMw== -----END…
Shoki
  • 21
  • 12
0
votes
1 answer

Verifying bigquery successful upload via command prompt/scheduled task

I'm trying to run a file upload in to BigQuery via a scheduled task (.bat file), the code below works fine for doing this (picking up any csv and using the schema which populates a table with the same name and then moving the original file). What I…
Code Ninja
  • 727
  • 1
  • 7
  • 9
0
votes
0 answers

Can someone without JDK run a program that uses the console for i/o (and has no other user interface or display)?

Essentially the question boils down to 'Is there a way to run a class/jar file using the console for input/output without having JDK'. I've written a program in Java for a colleague to use in his work, but he doesn't have/use JDK. I'm aware there…
0
votes
0 answers

History substitution is messing with command line arguments

I'm running an expect script that takes username, password from command line. However, password contains !! (eg: pass!!word) But shell is expanding this to previous command (read this link) How to escape this?
Sumit
  • 31
  • 1
  • 2