Command Line Interface

ontobot_change_agent automatically installs the command ochange. See ochange --help for usage details.

ochange

CLI for ontobot_change_agent.

param verbose:

Verbosity while running.

param quiet:

Boolean to be quiet or verbose.

ochange [OPTIONS] COMMAND [ARGS]...

Options

-v, --verbose
-q, --quiet <quiet>
--version

Show the version and exit.

get-labels

Get all labels for issues.

param repo:

GitHub repository name [org/repo_name]

ochange get-labels [OPTIONS]

Options

-r, --repo <repo>

Required Org/name of the github repo.

-g, --token <token>

Github token for the repository.

issues

Get issues based on different options.

param repo:

GitHub repository name [org/repo_name]

param state:

State of issue [“open”, “close” etc.]

param title_search:

String lookup in title of issue.

param label:

Label lookup for issues.

param output:

Output location.

ochange issues [OPTIONS]

Options

-r, --repo <repo>

Required Org/name of the github repo.

-s, --state <state>

State of the issue. [open, close etc.]

-o, --output <output>

Output could be a file or sys.stdout.

-t, --title-search <title_search>

Filter based on a search for pattern within title of issue.

-g, --token <token>

Github token for the repository.

-l, --label <label>

Filter based on a search for label of issue.

-n, --number <number>

Filter based on issue number.

process-issue

Run processes based on issue label.

param repo:

GitHub repository name [org/repo_name]

param label:

Label of issues.

param state:

State of issue [“open”, “close” etc.]

ochange process-issue [OPTIONS] INPUT

Options

-r, --repo <repo>

Required Org/name of the github repo.

-g, --token <token>

Github token for the repository.

-p, --prefix <prefix>

Assign prefix based on ontology resource.

-l, --label <label>

Filter based on a search for label of issue.

-n, --number <number>

Filter based on issue number.

-c, --comment-id <comment_id>

Comment id of KGCL command presence.

-s, --state <state>

State of the issue. [open, close etc.]

-j, --jar-path <jar_path>

Path to jar file.

-o, --output <output>

Output could be a file or sys.stdout.

--use-llm, --no-use-llm

Use llm-change-agent for processing.

--provider <provider>

Provider to use for generation.

Options:

--model <model>

Model to use for generation.

Options:

--rag-docs <rag_docs>

Paths to the docs directories, URLs, or lowercased ontology names.

Arguments

INPUT

Required argument

update-readme

Get implementers of ontobot_change_agent.

ochange update-readme [OPTIONS] INPUT

Arguments

INPUT

Required argument