Project

General

Profile

Actions

Feature #932

open

Allow passing command line arguments via shell script.

Added by Hammel about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
High
Assignee:
Category:
Build
Target version:
Start date:
13 Jan 2023
Due date:
% Done:

0%

Estimated time:
Severity:
01 - Critical

Description

Not sure how you pass command line arguments to a java program.

Adding support for command line options will allow setting the root directory, ie something other than ~/.xnotesng.

Actions #1

Updated by Hammel about 1 year ago

For integer values, see https://stackoverflow.com/a/15704811.

For strings, see https://www.geeksforgeeks.org/command-line-arguments-in-java/.

The shell script just converts it's getopt arguments to the Java equivalent.

Actions #2

Updated by Hammel about 1 year ago

  • Description updated (diff)
Actions

Also available in: Atom PDF