Skip to content

qruise kb

Manage the knowledge base.

Syntax

qruise kb [OPTIONS] COMMAND [ARGS]...

Description

The qruise kb command is the base command for managing the knowledge base. The subcommands are designed to mimic the syntax of the git command in order to flatten the learning curve.

Options

Option Description
--help Show a help message and exit.

Configuration files

Subcommands of the qruise kb command require the user to specify the QPU to be used for connecting to the QruiseOS tenant. This is done by specifying the profile field in the .QKB.json file inside the flow directory:

.QKB.json
{
    "profile": "QPU_NAME"
}

where QPU_NAME is the name of the QPU you wish to use (see here for how to create a QPU). Also note that the file might contain other fields besides just profile.

Subcommands

Name Description
branch List, create, or delete branches.
checkout Switch branches or restore working tree files.
commit Commit schema changes to a branch.
log Show KB commit log.
optimize Optimise the current branch.
rebase Reapply commits from tip of another branch to the current one.
reset Reset current HEAD to the specified state.
squash Squash multiple commits into one.
status Show the current working tree status or the status of a specific profile.