[42555b]: / docs / samples / cli-arguments-examples.md

Download this file

64 lines (41 with data), 1.3 kB

CLI Arguments - Example

OS - Specific Build Commands

IMPORTANT

  • MacOS use ./gradlew build
  • Windows use .\gradlew build

  • Type the build command in your terminal depending on your operating system.

  • You should receieve the feedback in your terminal of the successful build.

Standard CLI Understanding

The CLI consists of two parts.

  1. Executable
java-jar build/libs/DNAnalyzer.jar<arguments>
  1. Arguments
<executable> assets/dna/random/dnalong.fa--amino=ser--min=0--max=100-r

Access Help Menu

Use the executable to complete commands.

java-jar build/libs/DNAnalyzer.jar<arguments>

To access the help menu type the following command into your terminal.

java-jar build/libs/DNAnalyzer.jar-h

You should get the following response:

Running Example Command

Use the executable to complete commands.

java-jar build/libs/DNAnalyzer.jar<arguments>

Type the following into your terminal.

java-jar build/libs/DNAnalyzer.jar assets/dna/random/dnalong.fa--amino=ser--min=14--max=52

You should get the following response: